IntArg class

Inheritance
Mixed-in types

Constructors

IntArg(int value, {String? name, IntArgStyle style = const InputIntArgStyle()})

Properties

$generatedName String
latefinalinherited
description String?
The description of the composable group.
finalinherited
field Field<int>
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 int
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
style IntArgStyle
finalinherited
value int
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 name to a query parameter using the Field.toParam.
inherited
slugify(String name) String
Converts the name to 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, int newValue) → void
inherited
valueFromQueryGroup(QueryGroup? group) int
Converts a query group to a value of type T. group can 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 name from the query group using the Field.toValue.
inherited
valueToQueryGroup(int value) QueryGroup
Converts a value of type T to a query group.
inherited

Operators

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