DateTimeArg class
- Inheritance
-
- Object
- FieldsComposable<
DateTime> - Arg<
DateTime> - DateTimeArg
- Mixed-in types
Constructors
- DateTimeArg(DateTime value, {String? name, DateTime? start, DateTime? end})
Properties
- $generatedName ↔ String
-
latefinalinherited
- description → String?
-
The description of the composable group.
finalinherited
- end → DateTime?
-
final
-
field
→ Field<
DateTime> -
no setteroverride
-
fields
→ List<
Field> -
A list of
Fields that belong to this composable group.no setterinherited - groupName → String
-
The name of the query group param.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialValue ↔ DateTime
-
The initial value of the composable group.
latefinalinherited
- isNullable → bool
-
Whether this composable group is nullable.
no setterinherited
- name → String
-
The display name of the composable group.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → DateTime?
-
final
- value ↔ DateTime
-
getter/setter pairinherited
Methods
-
buildFields(
BuildContext context) → Widget -
Converts the fields into a Widget that will be rendered in the
settings side panel.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paramOf<
TField> (String name, TField value) → String -
Encodes the value of the Field with
nameto a query parameter using the Field.toParam.inherited -
slugify(
String name) → String -
Converts the
nameto a slugified version that can be used in query parameters.inherited -
toQueryGroup(
) → QueryGroup? -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
BuildContext context, DateTime newValue) → void -
inherited
-
valueFromQueryGroup(
QueryGroup? group) → DateTime -
Converts a query group to a value of type
T.groupcan be null if there is no query parameter for this group.inherited -
valueOf<
TField> (String name, QueryGroup group) → TField -
Decodes the value of the Field with
namefrom the querygroupusing the Field.toValue.inherited -
valueToQueryGroup(
DateTime value) → QueryGroup -
Converts a value of type
Tto a query group.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited