CustomField class
A Field who follow the color of the application
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- CustomField
Constructors
- CustomField({Key? key, required String label, IconData? icon, bool isPassword = false, TextInputType keyboardType = TextInputType.text, required dynamic onChanged(String), String value = '', bool? isNotCapitalize = false, int? maxSize, int maxLines = 1, required TextInputAction action})
-
Take in required parameter a Label, a fonction onchange, action.
const
Properties
- action → TextInputAction
-
Define the action to do on submit
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
Icon at the end of the text field
final
- isNotCapitalize → bool?
-
Bool to define for the text field if it's not capitalize
final
- isPassword → bool
-
Bool define if it a password or no to put a visibility of the text
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType
-
It's the text Keyboard type
final
- label → String
-
It's the label of the application
final
- maxLines → int
-
Int to define the max lines of the text field
final
- maxSize → int?
-
Int to define a max width of the widget
final
- onChanged → dynamic Function(String)
-
Fuction onchange to define what will append on change
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
String to define a default value
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _CustomFieldState -
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