Flutter – How to make it such that the UI initially shows a text box but when i click on it, a calendar widget pops up?
This is my widget that i want to pop up. CustomCalendar( earliestDate: DateTime.now() .subtract(const Duration(days: 120 * 365)), latestDate: DateTime.now() .subtract(const Duration(days: 18 * 365)), validationCallBack: (text) { BlocProvider.of< FormValidationBloc< KnowMoreValidationResult>>(context) .add(FieldUpdatedEvent( fieldName: formDefinition.dobField, value: text!.toIso8601String())); return null; }), I…