addFieldBloc method

void addFieldBloc({
  1. int step = 0,
  2. required FieldBloc<FieldBlocStateBase> fieldBloc,
})

Adds fieldBloc to the FormBloc.

You can set step of this fields, by default is 0.

Implementation

void addFieldBloc({int step = 0, required FieldBloc fieldBloc}) =>
    _onAddFieldBlocs(step: step, fieldBlocs: [fieldBloc]);