GiancarloCode / form_bloc

🔥 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! 🔥
https://GiancarloCode.github.io/form_bloc/
462 stars 199 forks source link

How SwitchFieldBlocBuilder onchange to show/hidden widget #207

Open haidvams opened 3 years ago

haidvams commented 3 years ago

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', ), ),

vasilich6107 commented 3 years ago

Hi. It seems that this project is not maintained anymore https://github.com/GiancarloCode/form_bloc/issues/192