BoolField class
- Inheritance
- Available extensions
- Annotations
-
- @autoequal
- @CopyWith()
- @JsonSerializable()
Constructors
-
BoolField({required String name, String? id, bool defaultValue = false, bool isRequired = false, bool showInList = false, int sort = 0, FormFieldValidator<
Object> ? validator, FieldType type = FieldType.boolField}) - BoolField.empty()
-
factory
- BoolField.fromJson(dynamic json)
-
factory
Properties
- defaultValue → bool
-
final
-
defaultValues
→ Set<
String> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
finalinherited
- isEmpty → bool
-
no setteroverride
- isRequired → bool
-
finalinherited
- name → String
-
finalinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- realField → bool
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showInList → bool
-
finalinherited
- sort → int
-
finalinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - type → FieldType
-
finalinherited
-
validator
→ FormFieldValidator<
Object> ? -
finalinherited
-
virtualFields
→ List<
Field> -
no setterinherited
Methods
-
description(
[BuildContext? context]) → FieldDescription -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
override
-
toModel(
) → Model -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited