ObjectFormField<T> constructor
const
ObjectFormField<T> ({
- Key? key,
- required T? value,
- ValueChanged<
T?> ? onChanged, - required Widget placeholder,
- required Widget builder(
- BuildContext context,
- T value
- Widget? leading,
- Widget? trailing,
- PromptMode mode = PromptMode.dialog,
- required Widget editorBuilder(
- BuildContext context,
- ObjectFormHandler<
T> handler
- AlignmentGeometry? popoverAlignment,
- AlignmentGeometry? popoverAnchorAlignment,
- EdgeInsetsGeometry? popoverPadding,
- Widget? dialogTitle,
- ButtonSize? size,
- ButtonDensity? density,
- ButtonShape? shape,
- List<
Widget> dialogActions(- BuildContext context,
- ObjectFormHandler<
T> handler
- bool? enabled,
- bool decorate = true,
- bool? immediateValueChange,
Creates an ObjectFormField.
Implementation
const ObjectFormField({
super.key,
required this.value,
this.onChanged,
required this.placeholder,
required this.builder,
this.leading,
this.trailing,
this.mode = PromptMode.dialog,
required this.editorBuilder,
this.popoverAlignment,
this.popoverAnchorAlignment,
this.popoverPadding,
this.dialogTitle,
this.size,
this.density,
this.shape,
this.dialogActions,
this.enabled,
this.decorate = true,
this.immediateValueChange,
});