ThemedNumberInput class

Inheritance

Constructors

ThemedNumberInput({Key? key, String? labelText, Widget? label, bool disabled = false, String? placeholder, void onChanged(num?)?, num? value, List<String> errors = const [], bool hideDetails = false, EdgeInsets? padding, bool dense = false, bool isRequired = false, VoidCallback? onSubmitted, bool readonly = false, List<TextInputFormatter> inputFormatters = const [], double? borderRadius, num? minimum, num? maximum, num? step})
ThemedNumberInput is the constructor of the input. Simplifies (I hope so) the creation of an input using the standard format of Layrz.
const

Properties

borderRadius double?
borderRadius is the border radius of the input.
final
dense bool
dense is the state of the input being dense.
final
disabled bool
value is the value of the input.
final
errors List<String>
errors is the list of errors of the input.
final
hashCode int
The hash code for this object.
no setterinherited
hideDetails bool
hideDetails is the state of the input to hide the details.
final
inputFormatters List<TextInputFormatter>
inputFormatters is the list of input formatters of the input.
final
isRequired bool
isRequired is the state of the input being required.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label Widget?
label is the widget of the label of the input.
final
labelText String?
labelText is the text of the label of the input.
final
maximum num?
maximum is the maximum value of the input.
final
minimum num?
minimum is the minimum value of the input.
final
onChanged → (void Function(num?)?)
placeholder is the placeholder of the input.
final
onSubmitted VoidCallback?
onSubmitted is the callback function when the input is submitted.
final
padding EdgeInsets?
padding is the padding of the input.
final
placeholder String?
disabled is the state of the input being disabled.
final
readonly bool
readonly is the state of the input being readonly.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
step num?
step is the step of the input.
final
value num?
onChanged is the callback function when the input is changed.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<ThemedNumberInput>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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