FormFieldDef class abstract

Implemented types
Implementers

Constructors

FormFieldDef({required String id, Widget? icon, FormTheme? theme, String? title, String? description, bool disabled = false, bool hideField = false, bool requestFocus = false, List<FormBuilderValidator>? validators, bool validateLive = false, dynamic onSubmit(FormResults results)?, dynamic onChange(FormResults results)?, Widget fieldLayout(BuildContext context, FormFieldDef fieldDetails, FieldColorScheme currentColors, List<FormBuilderError> errors, Widget renderedField) = fieldSimpleLayout, Widget fieldBackground(BuildContext context, FormFieldDef fieldDetails, FieldColorScheme currentColors, Widget renderedField) = fieldSimpleBackground})

Properties

description → String?
final
disabled → bool
final
fieldBackground → Widget Function(BuildContext context, FormFieldDef fieldDetails, FieldColorScheme currentColors, Widget renderedField)
final
fieldLayout → Widget Function(BuildContext context, FormFieldDef fieldDetails, FieldColorScheme currentColors, List<FormBuilderError> errors, Widget renderedField)
final
hashCode → int
The hash code for this object.
no setterinherited
hideField → bool
final
icon → Widget?
final
id → String
final
onChange → dynamic Function(FormResults results)?
final
onSubmit → dynamic Function(FormResults results)?
final
requestFocus → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
theme → FormTheme?
final
title → String?
final
validateLive → bool
final
validators → List<FormBuilderValidator>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited