CustomTextFields class

Inheritance

Constructors

CustomTextFields.new({Key? key, String? hintText, TextEditingController? controller, int? maxLines, int? minLines, TextAlign? fieldsTextAlign, TextInputType? fieldsInputType, FontWeight? hintFontWeight, Color? hintColor, TextOverflow? hintTextOverflow, String? hintTextFontFamily, double? hintTextFontSize, EdgeInsets? contentPadding, Color? focusedBorderColor, Color? enabledBorderColor, Color? errorBorderColor, Color? disabledBorderColor, Color? focusErrorBorderColor, bool? obscureText = false, FocusNode? focusNode, void onFieldSubmitted(String)?, TextInputAction? textInputAction, String? initialValue, FormFieldValidator? validator, Widget? prefixIcon, Widget? suffixIcon, Color? prefixIconColor, Color? suffixIconColor, dynamic onChanged(String)?, VoidCallback? onPressed, double? focusedBorder, double? enabledBorder, double? errorBorder, double? disabledBorder, double? focusErrorBorder, String? labelText, Color? labelColor, FontWeight? labelFontWeight, TextOverflow? labelTextOverflow, String? labelTextFontFamily, double? labelTextFontSize, bool? filled, Color? fillColor, Color? textColor})
const

Properties

contentPadding EdgeInsets?
final
controller TextEditingController?
final
disabledBorder double?
final
disabledBorderColor Color?
final
enabledBorder double?
final
enabledBorderColor Color?
final
errorBorder double?
final
errorBorderColor Color?
final
fieldsInputType TextInputType?
final
fieldsTextAlign TextAlign?
final
fillColor Color?
final
filled bool?
final
focusedBorder double?
final
focusedBorderColor Color?
final
focusErrorBorder double?
final
focusErrorBorderColor Color?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
hintColor Color?
final
hintFontWeight FontWeight?
final
hintText String?
final
hintTextFontFamily String?
final
hintTextFontSize double?
final
hintTextOverflow TextOverflow?
final
initialValue String?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
labelColor Color?
final
labelFontWeight FontWeight?
final
labelText String?
final
labelTextFontFamily String?
final
labelTextFontSize double?
final
labelTextOverflow TextOverflow?
final
maxLines int?
final
minLines int?
final
obscureText bool?
final
onChanged → dynamic Function(String)?
final
onFieldSubmitted → void Function(String)?
final
onPressed VoidCallback?
final
prefixIcon Widget?
final
prefixIconColor Color?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixIcon Widget?
final
suffixIconColor Color?
final
textColor Color?
final
textInputAction TextInputAction?
final
validator FormFieldValidator?
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
buildOutlineInputBorder({required double borderRadius, required Color color}) OutlineInputBorder
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