RxTextFormFieldBuilder<B extends RxBlocTypeBase> constructor
RxTextFormFieldBuilder<B extends RxBlocTypeBase> ({
- required RxFormFieldState<
B, String> state, - required RxFormFieldShowError<
B> showErrorState, - required RxTextFormFieldBuilderFunction<
B> builder, - required RxFormFieldOnChanged<
B, String> onChanged, - RxInputDecorationData decorationData = const RxInputDecorationData(),
- TextEditingController? controller,
- bool obscureText = false,
- RxTextFormFieldCursorBehaviour cursorBehaviour = RxTextFormFieldCursorBehaviour.start,
- B? bloc,
- Key? key,
The default constructor
Implementation
RxTextFormFieldBuilder({
required RxFormFieldState<B, String> state,
required RxFormFieldShowError<B> showErrorState,
required RxTextFormFieldBuilderFunction<B> builder,
required this.onChanged,
this.decorationData = const RxInputDecorationData(),
this.controller,
this.obscureText = false,
this.cursorBehaviour = RxTextFormFieldCursorBehaviour.start,
B? bloc,
Key? key,
}) : textFormBuilder = builder,
super(
key: key,
state: state,
showErrorState: showErrorState,
builder: (_) => Container(),
bloc: bloc,
);