MetaFormControl<M>.embedded constructor
MetaFormControl<M>.embedded ({
- Key? widgetKey,
- required SunnyFormFieldState<
M> fieldState, - required JsonPath basePath,
- required JsonPath path,
- required MetaFormContext metaForm,
- String? label,
- bool checkAll = true,
- String? placeholder,
Implementation
MetaFormControl.embedded({
Key? widgetKey,
required SunnyFormFieldState<M> fieldState,
required JsonPath basePath,
required JsonPath path,
required MetaFormContext metaForm,
String? label,
bool checkAll = true,
String? placeholder,
}) : this._(
widgetKey: widgetKey,
fieldState: fieldState,
basePath: basePath.verifyNotRoot,
fieldPath: path,
metaFormField: metaForm.path(basePath, path),
label: label,
checkAll: checkAll,
placeholder: placeholder,
);