CommonInputField class

Inheritance

Constructors

CommonInputField({Key? key, TextEditingController? controller, required String hint, dynamic onChanged(String)?, String? validator(String?)?, TextInputType? inputType, List<TextInputFormatter>? inputFormatter, double? marginLeft, double? marginRight, double? marginTop, double? marginBottom, Widget? leading, Widget? trailing, TextCapitalization? textCapitalization, String? errorText, bool? isEnable, bool readOnly = false, RxBool? isShowTrailing, Color? fillColor, Color? borderColor, int? maxLines, FocusNode? focusNode, dynamic onFieldSubmitted(String)?, bool? autoFocus, OutlineInputBorder? underLineBorder, EdgeInsets? edgesInsects, bool? obscure = false, double? height, TextInputAction? textInputAction, int? maxLength, VoidCallback? onTap, bool? selectionPoint, EdgeInsets? margin, OutlineInputBorder inputBorder = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(10.0)), borderSide: BorderSide(color: Colors.grey)), OutlineInputBorder errorInputBorder = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(10.0)), borderSide: BorderSide(color: Colors.red))})

Properties

autoFocus bool?
final
borderColor Color?
final
controller TextEditingController?
final
edgesInsects EdgeInsets?
final
errorInputBorder OutlineInputBorder
latefinal
errorText String?
final
fillColor Color?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
hint String
final
inputBorder OutlineInputBorder
latefinal
inputFormatter List<TextInputFormatter>?
final
inputType TextInputType?
final
isEnable bool?
final
isShowTrailing → RxBool?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leading Widget?
final
margin EdgeInsets?
final
marginBottom double?
final
marginLeft double?
final
marginRight double?
final
marginTop double?
final
maxLength int?
final
maxLines int?
final
obscure bool?
final
onChanged → dynamic Function(String)?
final
onFieldSubmitted → dynamic Function(String)?
final
onTap VoidCallback?
final
readOnly bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionPoint bool?
final
textCapitalization TextCapitalization?
final
textInputAction TextInputAction?
final
trailing Widget?
final
underLineBorder OutlineInputBorder?
final
validator String? Function(String?)?
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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, int wrapWidth = 65}) 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