ReactiveStatusListenableBuilder constructor
const
ReactiveStatusListenableBuilder({
- Key? key,
- String? formControlName,
- AbstractControl<
Object?> ? formControl, - required ReactiveListenableWidgetBuilder<
Object?> builder, - Widget? child,
Creates an instance of ReactiveStatusListenableBuilder.
The builder function must not be null.
Must provide a forControlName
or a formControl but not both
at the same time.
Implementation
const ReactiveStatusListenableBuilder({
Key? key,
this.formControlName,
this.formControl,
required this.builder,
this.child,
}) : assert(
(formControlName != null && formControl == null) ||
(formControlName == null && formControl != null),
'Must provide a formControlName or a formControl, but not both at the same time.'),
super(key: key);