KitTextfield class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- KitTextfield
Constructors
-
KitTextfield({double heigth = 50, double width = 300, BoxDecoration? decoration, EdgeInsets? padding = const EdgeInsets.symmetric(vertical: 10, horizontal: 15), EdgeInsets margin = const EdgeInsets.symmetric(horizontal: 70), Color? colorGradient, Color? colorGradient2, bool? containTiltle = false, String title = 'QT Components UI', TextStyle? titleStyle, ValueChanged<
String> ? onChanged, String textInTextField = 'QT Components UI', TextStyle textStyleInTextField = const TextStyle(color: Colors.black, fontSize: 15, fontWeight: FontWeight.w700), InputBorder border = InputBorder.none, bool obscureText = false, TextEditingController? controller, TextInputType? keyboardType, Icon? prefix = const Icon(Icons.search_rounded, color: Colors.black), IconButton? sufix, int? maxlines, int? minlines, Color? colorTextField, bool containGradient = false, Alignment? alignmentGradientBegin, Alignment? alignmentGradientEnd, MainAxisAlignment? mainAxisAlignmentTitle, bool enable = true, bool enableSuggestions = false, bool decorationWithOutline = false, bool alignLabelWithHint = true, Color colorBorderSide = Colors.orange, FloatingLabelBehavior floatingLabelBehavior = FloatingLabelBehavior.always, double widthBorderSide = 1.0, List<TextInputFormatter> ? inputFormatters, bool textFieldWithGradient = false, Color? colorMaterial, TextStyle? style}) -
const
Properties
- alignLabelWithHint → bool
-
final
- alignmentGradientBegin → Alignment?
-
final
- alignmentGradientEnd → Alignment?
-
final
- border → InputBorder
-
final
- colorBorderSide → Color
-
final
- colorGradient → Color?
-
final
- colorGradient2 → Color?
-
final
- colorMaterial → Color?
-
final
- colorTextField → Color?
-
final
- containGradient → bool
-
final
- containTiltle → bool?
-
final
- controller → TextEditingController?
-
final
- decoration → BoxDecoration?
-
final
- decorationWithOutline → bool
-
final
- enable → bool
-
final
- enableSuggestions → bool
-
final
- floatingLabelBehavior → FloatingLabelBehavior
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heigth → double
-
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType?
-
final
- mainAxisAlignmentTitle → MainAxisAlignment?
-
final
- margin → EdgeInsets
-
final
- maxlines → int?
-
final
- minlines → int?
-
final
- obscureText → bool
-
final
-
onChanged
→ ValueChanged<
String> ? -
final
- padding → EdgeInsets?
-
final
- prefix → Icon?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TextStyle?
-
final
- sufix → IconButton?
-
final
- textFieldWithGradient → bool
-
final
- textInTextField → String
-
final
- textStyleInTextField → TextStyle
-
final
- title → String
-
final
- titleStyle → TextStyle?
-
final
- width → double
-
final
- widthBorderSide → double
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _KitTextfieldState -
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}) → 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