FPCBasicGradientFormField class

Inheritance

Constructors

FPCBasicGradientFormField({Key? key, TextEditingController? controller, FocusNode? focusNode, required Gradient unfocusedBackgroundGradient, required Gradient focusedBackgroundGradient, required Gradient focusedGradient, Gradient? internalIconGradient, double? internalIconHeight, double? height, BorderRadius? borderRadius, double? borderWidth, EdgeInsets? padding, EdgeInsets? errorPadding, TextStyle? textStyle, required String labelText, Color? labelColor, TextStyle? labelStyle, String? prefixText, TextStyle? prefixStyle, String? hintText, TextStyle? hintStyle, TextStyle? errorStyle, TextInputType textInputType = TextInputType.text, TextCapitalization textCapitalization = TextCapitalization.none, TextInputAction textInputAction = TextInputAction.done, TextAlign textAlign = TextAlign.start, bool isAutofocus = false, bool? isShowCursor, String obscuringCharacter = "•", bool isObscuringText = false, bool isAutocorrect = false, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, bool isSuggestions = false, MaxLengthEnforcement? maxLengthEnforcement, int maxLines = 1, int maxLength = 128, void onChanged(String)?, void onTap()?, void onEditingComplete()?, void onFieldSubmitted(String)?, String? autoValidator(String)?, String? validator(String)?, List<TextInputFormatter>? inputFormatters, Brightness? keyboardAppearance, bool? enableInteractiveSelection, TextSelectionControls? selectionControls, Widget? buildCounter(BuildContext, {required int currentLength, required bool isFocused, required int? maxLength})?, Iterable<String>? autofillHints, bool enableIMEPersonalizedLearning = true, Widget contextMenuBuilder(BuildContext, EditableTextState)?, Widget? prefix, IconData? prefixIcon, IconData? postfixIcon, Widget? postfix, Widget? bottom, bool isRequired = false, bool isDisabled = false, Color? disabledColor, String? restorationId})
const

Properties

autofillHints Iterable<String>?
final
autoValidator String? Function(String)?
final
borderRadius BorderRadius?
final
borderWidth double?
final
bottom Widget?
final
buildCounter Widget? Function(BuildContext, {required int currentLength, required bool isFocused, required int? maxLength})?
final
contextMenuBuilder Widget Function(BuildContext, EditableTextState)?
final
controller TextEditingController?
final
disabledColor Color?
final
enableIMEPersonalizedLearning bool
final
enableInteractiveSelection bool?
final
errorPadding EdgeInsets?
final
errorStyle TextStyle?
final
focusedBackgroundGradient Gradient
final
focusedGradient Gradient
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
hintStyle TextStyle?
final
hintText String?
final
inputFormatters List<TextInputFormatter>?
final
internalIconGradient Gradient?
final
internalIconHeight double?
final
isAutocorrect bool
final
isAutofocus bool
final
isDisabled bool
final
isObscuringText bool
final
isRequired bool
final
isShowCursor bool?
final
isSuggestions bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardAppearance Brightness?
final
labelColor Color?
final
labelStyle TextStyle?
final
labelText String
final
maxLength int
final
maxLengthEnforcement MaxLengthEnforcement?
final
maxLines int
final
obscuringCharacter String
final
onChanged → void Function(String)?
final
onEditingComplete → void Function()?
final
onFieldSubmitted → void Function(String)?
final
onTap → void Function()?
final
padding EdgeInsets?
final
postfix Widget?
final
postfixIcon IconData?
final
prefix Widget?
final
prefixIcon IconData?
final
prefixStyle TextStyle?
final
prefixText String?
final
restorationId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionControls TextSelectionControls?
final
smartDashesType SmartDashesType?
final
smartQuotesType SmartQuotesType?
final
textAlign TextAlign
final
textCapitalization TextCapitalization
final
textInputAction TextInputAction
final
textInputType TextInputType
final
textStyle TextStyle?
final
unfocusedBackgroundGradient Gradient
final
validator String? Function(String)?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<FPCBasicGradientFormField>
Creates the mutable state for this widget at a given location in the tree.
override
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