🔥 Dart and Flutter Package 🔥 Easy Form State Management using BLoC pattern 🔥 Wizard/stepper forms, asynchronous validation, dynamic and conditional fields, submission progress, serialization and more! 🔥
Hi team
I dont know , how to use SwitchFieldBlocBuilder() to show/hiden when Switch status
in my case:
SwitchFieldBlocBuilder(
booleanFieldBloc: formBloc.halfcheck,
body: Container(
alignment: Alignment.centerLeft,
child: Text('Half Day'),
),
),
// to show/hiden DateTimeFieldBlocBuilder
DateTimeFieldBlocBuilder(
dateTimeFieldBloc: formBloc.halfday,
format: DateFormat('dd-mm-yyyy'),
initialDate: DateTime.now(),
firstDate: DateTime(1900),
lastDate: DateTime(2100),
decoration: InputDecoration(
labelText: 'Half Day Date',
prefixIcon: Icon(Icons.calendar_today),
helperText: 'Date',
),
),
Hi team I dont know , how to use SwitchFieldBlocBuilder() to show/hiden when Switch status in my case: SwitchFieldBlocBuilder( booleanFieldBloc: formBloc.halfcheck, body: Container( alignment: Alignment.centerLeft, child: Text('Half Day'), ), ), // to show/hiden DateTimeFieldBlocBuilder DateTimeFieldBlocBuilder( dateTimeFieldBloc: formBloc.halfday, format: DateFormat('dd-mm-yyyy'), initialDate: DateTime.now(), firstDate: DateTime(1900), lastDate: DateTime(2100), decoration: InputDecoration( labelText: 'Half Day Date', prefixIcon: Icon(Icons.calendar_today), helperText: 'Date', ), ),