DInputPassword class

simple input password with full border default to styling the input decoration, use theme in the main

Inheritance

Constructors

DInputPassword({Key? key, required TextEditingController controller, String? label, String? title, bool? isRequired, String? hint, DValidator? validator, TextInputType? inputType, int? maxLine, int? minLine, OnTap? onTap, OnChange? onChanged, double? spaceTitle, String? obsecureCharacter, Color? fillColor, BorderRadius? radius, EdgeInsetsGeometry? contentPadding = const EdgeInsets.fromLTRB(16, 12, 16, 12), TextStyle? style, bool autofocus = false, TextAlign textAlign = TextAlign.start})
const

Properties

autofocus bool
Default: false
Creates a FormField that contains a TextField.
When a controller is specified, initialValue must be null (the default). If controller is null, then a TextEditingController will be constructed automatically and its text will be initialized to initialValue or the empty string.
For documentation about the various parameters, see the TextField class and TextField.new, the constructor.
final
contentPadding EdgeInsetsGeometry?
padding input text to side of box input
default: const EdgeInsets.fromLTRB(16, 12, 16, 12)
final
controller TextEditingController
controller for input
final
fillColor Color?
color for input background
final
hashCode int
The hash code for this object.
no setterinherited
hint String?
dummy placeholder
final
inputType TextInputType?
type for the input, like number
final
isRequired bool?
asteris symbol will shown if required
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label String?
text inline border input if title not null, label will be replace label < title
final
maxLine int?
maximum line for input
final
minLine int?
minimum line for input
final
obsecureCharacter String?
final
onChanged OnChange?
get realtime value from input
final
onTap OnTap?
action tap input
final
radius BorderRadius?
radius for corner
default:
const BorderRadius.all(Radius.circular(4.0))
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spaceTitle double?
space beetween input and title text default: 8
final
style TextStyle?
style custom input text
final
textAlign TextAlign
align input
default: start
final
title String?
title will replace label, if label not null title > label
final
validator DValidator?
input validator to activate validator, wrap input with 'Form widget'
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<DInputPassword>
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