bloc property

FormBloc<F, P, E> get bloc

Access the nearest FormBloc in the tree.

Implementation

FormBloc<F, P, E> get bloc => BlocProvider.of<FormBloc<F, P, E>>(context);