CustomTextField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- CustomTextField
Constructors
-
CustomTextField({Key? key, required String title, String? iconName, dynamic onChange(String v)?, String? trailingIconName, Widget? trailingIconWidget, Color? color, Color? borderColor, EdgeInsets? padding, Color? trailingIconColor, bool autoFocus = false, TextEditingController? controller, TextInputType? keyboardType, bool password = false, VoidCallback? handleShowPassword, TextInputAction? textInputAction, String? errorText, String? validator(String? v)?, bool enabled = true, TextStyle? textStyle, TextStyle? hintStyle, bool? requiredField, BorderRadius? borderRadius, int? maxLines, int? minLines, String? initialValue, Widget? trailingIcon, int? maxLength, BoxDecoration? decoration, dynamic onSubmitted(String v)?, Color? backgroundColor, Widget? leadingIcon, bool? obscureText, FocusNode? focusNode, List<
TextInputFormatter> ? inputFormatters, CrossAxisAlignment? crossAxisAlignment, InputDecoration? inputDecoration, Widget? buildCounter(BuildContext, {required int currentLength, required bool isFocused, required int? maxLength})?}) -
const
Properties
- autoFocus → bool
-
final
- backgroundColor → Color?
-
final
- borderColor → Color?
-
final
- borderRadius → BorderRadius?
-
final
- buildCounter → Widget? Function(BuildContext, {required int currentLength, required bool isFocused, required int? maxLength})?
-
final
- color → Color?
-
final
- controller → TextEditingController?
-
final
- crossAxisAlignment → CrossAxisAlignment?
-
final
- decoration → BoxDecoration?
-
final
- enabled → bool
-
final
- errorText → String?
-
final
- focusNode → FocusNode?
-
final
- handleShowPassword → VoidCallback?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintStyle → TextStyle?
-
final
- iconName → String?
-
final
- initialValue → String?
-
final
- inputDecoration → InputDecoration?
-
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType?
-
final
- leadingIcon → Widget?
-
final
- maxLength → int?
-
final
- maxLines → int?
-
final
- minLines → int?
-
final
- obscureText → bool?
-
final
- onChange → dynamic Function(String v)?
-
final
- onSubmitted → dynamic Function(String v)?
-
final
- padding → EdgeInsets?
-
final
- password → bool
-
final
- requiredField → bool?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textInputAction → TextInputAction?
-
final
- textStyle → TextStyle?
-
final
- title → String
-
final
- trailingIcon → Widget?
-
final
- trailingIconColor → Color?
-
final
- trailingIconName → String?
-
final
- trailingIconWidget → Widget?
-
final
- validator → String? Function(String? v)?
-
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