MTextFiled class

Inheritance
Available Extensions

Constructors

MTextFiled({Key? key, Key? mKey, TextStyle? hintStyle, TextStyle? labelStyle, TextStyle? textStyle, TextStyle? titleStyle, TextAlign textAlign = TextAlign.start, String? validator(String? valid)?, TextEditingController? controller, List<TextInputFormatter>? inputFiltering, FontWeight? lableWeight, FontWeight? textWeight, FontWeight? hintWeight, Widget? outterPrefix, FontWeight? titleWeight, TextInputAction? textInputAction, FocusNode? focusNode, InputBorder? border, EdgeInsetsGeometry? titlePadding, int? maxLength, Color? fillColor, String? lableText, Widget? suffix, VoidCallback? onEditingComplete, TextDecoration? textDecoration, Widget? prefix, String? title, String? hintText, String? fontFamily, Color? hintColor, Color textColor = Colors.black, Color? labelColor = Colors.grey, Color titleColor = Colors.black, double textSize = FoontSize.font19, double titleSize = FoontSize.font19, double hintSize = FoontSize.font17, EdgeInsetsGeometry? contentPadding = const MPadding.set(horizontal: 21.0, vertical: 20.0), bool enabled = true, bool showCursor = true, bool readOnly = false, TextInputType keyboardType = TextInputType.name, int? maxLines = 1, bool obscureText = false, ValueChanged<String>? onChanged, Color? activeBorderColor})

Properties

activeBorderColor Color?
getter/setter pair
border InputBorder?
getter/setter pair
contentPadding EdgeInsetsGeometry?
final
controller TextEditingController?
final
enabled bool
final
fillColor Color?
getter/setter pair
focusNode FocusNode?
final
fontFamily String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hintColor Color?
getter/setter pair
hintSize double
final
hintStyle TextStyle?
final
hintText String?
getter/setter pair
hintWeight FontWeight?
final
inputFiltering List<TextInputFormatter>?
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType
final
labelColor Color?
getter/setter pair
labelStyle TextStyle?
final
lableText String?
final
lableWeight FontWeight?
final
maxLength int?
final
maxLines int?
final
mKey Key?
final
obscureText bool
final
onChanged ValueChanged<String>?
final
onEditingComplete VoidCallback?
final
outterPrefix Widget?
getter/setter pair
prefix Widget?
getter/setter pair
readOnly bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCursor bool
final
suffix Widget?
getter/setter pair
textAlign TextAlign
final
textColor Color
final
textDecoration TextDecoration?
final
textInputAction TextInputAction?
final
textSize double
final
textStyle TextStyle?
final
textWeight FontWeight?
final
title String?
final
titleColor Color
final
titlePadding EdgeInsetsGeometry?
final
titleSize double
final
titleStyle TextStyle?
final
titleWeight FontWeight?
final
validator → (String? Function(String? valid)?)
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}) 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