CustomTextField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- CustomTextField
Constructors
-
CustomTextField({Key? key, required TextEditingController controller, double? height, double? width, BoxConstraints? constraints, FormFieldValidator<
String> ? validator, ValueChanged<String> ? onChanged, String? hintText, TextStyle? hintStyle, String? labelText, int? limit, EdgeInsets? margin, bool? obscureText, String? initialValue, FocusNode? focusNode, TextInputType? keyboardType, TextInputAction? textInputAction, TextStyle? style, StrutStyle? strutStyle, TextDirection? textDirection, TextAlignVertical? textAlignVertical, ToolbarOptions? toolbarOptions, bool? showCursor, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, MaxLengthEnforcement? maxLengthEnforcement, int? minLines, int? maxLength, GestureTapCallback? onTap, VoidCallback? onEditingComplete, ValueChanged<String> ? onFieldSubmitted, FormFieldSetter<String> ? onSaved, List<TextInputFormatter> ? inputFormatters, bool? enabled, bool? autofocus, TextAlign? textAlign, bool? readOnly, String? obscuringCharacter, bool? autocorrect, Radius? cursorRadius, double? cursorHeight, int? maxLines, EdgeInsets? scrollPadding, bool? enableIMEPersonalizedLearning, Color? cursorColor, Brightness? keyboardAppearance, bool? enableInteractiveSelection, TextSelectionControls? selectionControls, InputCounterWidgetBuilder? buildCounter, ScrollPhysics? scrollPhysics, Iterable<String> ? autofillHints, AutovalidateMode? autovalidateMode, ScrollController? scrollController, String? restorationId, Color? fillColor, bool? filled, MouseCursor? mouseCursor, EdgeInsetsGeometry? contentPadding, bool? isCollapsed, double? floatingLabelHeight, double? floatingLabelProgress, FloatingLabelAlignment? floatingLabelAlignment, InputBorder? border, bool? alignLabelWithHint, bool? isDense, VisualDensity? visualDensity, Widget? icon, Widget? input, Widget? label, Widget? hint, Widget? prefix, Widget? suffix, Widget? prefixIcon, Widget? suffixIcon, Widget? helperError, Widget? counter, Widget? container, bool? expands}) -
const
Properties
- alignLabelWithHint → bool?
-
final
- autocorrect → bool?
-
final
-
autofillHints
→ Iterable<
String> ? -
final
- autofocus → bool?
-
final
- autovalidateMode → AutovalidateMode?
-
final
- border → InputBorder?
-
final
- buildCounter → InputCounterWidgetBuilder?
-
final
- constraints → BoxConstraints?
-
final
- container → Widget?
-
final
- contentPadding → EdgeInsetsGeometry?
-
final
- controller → TextEditingController
-
final
- counter → Widget?
-
final
- cursorColor → Color?
-
final
- cursorHeight → double?
-
final
- cursorRadius → Radius?
-
final
- cursorWidth → double?
-
final
- enabled → bool?
-
final
- enableIMEPersonalizedLearning → bool?
-
final
- enableInteractiveSelection → bool?
-
final
- enableSuggestions → bool
-
final
- expands → bool?
-
final
- fillColor → Color?
-
final
- filled → bool?
-
final
- floatingLabelAlignment → FloatingLabelAlignment?
-
final
- floatingLabelHeight → double?
-
final
- floatingLabelProgress → double?
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- helperError → Widget?
-
final
- hint → Widget?
-
final
- hintStyle → TextStyle?
-
final
- hintText → String?
-
final
- icon → Widget?
-
final
- initialValue → String?
-
final
- input → Widget?
-
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
final
- isCollapsed → bool?
-
final
- isDense → bool?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardAppearance → Brightness?
-
final
- keyboardType → TextInputType?
-
final
- label → Widget?
-
final
- labelText → String?
-
final
- limit → int?
-
final
- margin → EdgeInsets?
-
final
- maxLength → int?
-
final
- maxLengthEnforcement → MaxLengthEnforcement?
-
final
- maxLines → int?
-
final
- minLines → int?
-
final
- mouseCursor → MouseCursor?
-
final
- obscureText → bool?
-
final
- obscuringCharacter → String?
-
final
-
onChanged
→ ValueChanged<
String> ? -
final
- onEditingComplete → VoidCallback?
-
final
-
onFieldSubmitted
→ ValueChanged<
String> ? -
final
-
onSaved
→ FormFieldSetter<
String> ? -
final
- onTap → GestureTapCallback?
-
final
- prefix → Widget?
-
final
- prefixIcon → Widget?
-
final
- readOnly → bool?
-
final
- restorationId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollController → ScrollController?
-
final
- scrollPadding → EdgeInsets?
-
final
- scrollPhysics → ScrollPhysics?
-
final
- selectionControls → TextSelectionControls?
-
final
- showCursor → bool?
-
final
- smartDashesType → SmartDashesType?
-
final
- smartQuotesType → SmartQuotesType?
-
final
- strutStyle → StrutStyle?
-
final
- style → TextStyle?
-
final
- suffix → Widget?
-
final
- suffixIcon → Widget?
-
final
- textAlign → TextAlign?
-
final
- textAlignVertical → TextAlignVertical?
-
final
- textCapitalization → TextCapitalization
-
final
- textDirection → TextDirection?
-
final
- textInputAction → TextInputAction?
-
final
- toolbarOptions → ToolbarOptions?
-
final
-
validator
→ FormFieldValidator<
String> ? -
final
- visualDensity → VisualDensity?
-
final
- width → double?
-
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
-
inputBorder(
{Color? color}) → InputBorder -
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