SwitchFieldBlocBuilder<T extends FormBloc> constructor

const SwitchFieldBlocBuilder<T extends FormBloc>({
  1. Key? key,
  2. required String fieldName,
  3. required Widget body,
  4. SwitchPosition switchPosition = SwitchPosition.prefix,
})

Implementation

const SwitchFieldBlocBuilder({
  Key? key,
  required this.fieldName,
  required this.body,
  this.switchPosition = SwitchPosition.prefix,
}) : super(key: key);