BorderlessTextTheme class

This class is used for the theming of underlined text field

Inheritance

Constructors

BorderlessTextTheme({TextStyle? hintStyle, EdgeInsetsGeometry? contentPadding, TextStyle? errorStyle, TextStyle? floatingLabelStyle, Color? enabledColor, Color? focusedColor, Color? prefixIconColor, Color? suffixIconColor, double width = 2, double radius = 0, Color fillColor = Colors.transparent, TextStyle? helperStyle, int? helperMaxLines, int? errorMaxLines, Color? iconColor, TextStyle? prefixStyle, TextStyle? suffixStyle, FloatingLabelBehavior floatingLabelBehavior = FloatingLabelBehavior.auto, FloatingLabelAlignment floatingLabelAlignment = FloatingLabelAlignment.start})

Properties

activeIndicatorBorder BorderSide?
The borderSide of the UnderlineInputBorder with color and weight.
no setterinherited
alignLabelWithHint bool
Overrides the default value for InputDecoration.alignLabelWithHint.
no setterinherited
border InputBorder?
Overrides the default value for InputDecoration.border.
no setterinherited
child Widget
The widget below this widget in the tree.
finalinherited
constraints BoxConstraints?
Overrides the default value for InputDecoration.constraints.
no setterinherited
contentPadding EdgeInsetsGeometry?
Overrides the default value for InputDecoration.contentPadding.
no setterinherited
counterStyle TextStyle?
Overrides the default value for InputDecoration.counterStyle.
no setterinherited
data InputDecorationThemeData
The properties used for all descendant TabBar widgets.
no setterinherited
disabledBorder InputBorder?
Overrides the default value for InputDecoration.disabledBorder.
no setterinherited
enabledBorder InputBorder?
Overrides the default value for InputDecoration.enabledBorder.
no setterinherited
errorBorder InputBorder?
Overrides the default value for InputDecoration.errorBorder.
no setterinherited
errorMaxLines int?
Overrides the default value for InputDecoration.errorMaxLines.
no setterinherited
errorStyle TextStyle?
Overrides the default value for InputDecoration.errorStyle.
no setterinherited
fillColor Color?
Overrides the default value for InputDecoration.fillColor.
no setterinherited
filled bool
Overrides the default value for InputDecoration.filled.
no setterinherited
floatingLabelAlignment FloatingLabelAlignment
Overrides the default value for InputDecoration.floatingLabelAlignment.
no setterinherited
floatingLabelBehavior FloatingLabelBehavior
Overrides the default value for InputDecoration.floatingLabelBehavior.
no setterinherited
floatingLabelStyle TextStyle?
Overrides the default value for InputDecoration.floatingLabelStyle.
no setterinherited
focusColor Color?
Overrides the default value for InputDecoration.focusColor.
no setterinherited
focusedBorder InputBorder?
Overrides the default value for InputDecoration.focusedBorder.
no setterinherited
focusedErrorBorder InputBorder?
Overrides the default value for InputDecoration.focusedErrorBorder.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
helperMaxLines int?
Overrides the default value for InputDecoration.helperMaxLines.
no setterinherited
helperStyle TextStyle?
Overrides the default value for InputDecoration.floatingLabelStyle.
no setterinherited
hintFadeDuration Duration?
Overrides the default value for InputDecoration.hintFadeDuration.
no setterinherited
hintMaxLines int?
Overrides the default value for InputDecoration.hintMaxLines.
no setterinherited
hintStyle TextStyle?
Overrides the default value for InputDecoration.hintStyle.
no setterinherited
hoverColor Color?
Overrides the default value for InputDecoration.hoverColor.
no setterinherited
iconColor Color?
Overrides the default value for InputDecoration.iconColor.
no setterinherited
isCollapsed bool
Overrides the default value for InputDecoration.isCollapsed.
no setterinherited
isDense bool
Overrides the default value for InputDecoration.isDense.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
labelStyle TextStyle?
Overrides the default value for InputDecoration.labelStyle.
no setterinherited
outlineBorder BorderSide?
The borderSide of the OutlineInputBorder with color and weight.
no setterinherited
prefixIconColor Color?
Overrides the default value for InputDecoration.prefixIconColor.
no setterinherited
prefixIconConstraints BoxConstraints?
Overrides the default value for InputDecoration.prefixIconConstraints.
no setterinherited
prefixStyle TextStyle?
Overrides the default value for InputDecoration.prefixStyle.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixIconColor Color?
Overrides the default value for InputDecoration.suffixIconColor.
no setterinherited
suffixIconConstraints BoxConstraints?
Overrides the default value for InputDecoration.suffixIconConstraints.
no setterinherited
suffixStyle TextStyle?
Overrides the default value for InputDecoration.suffixStyle.
no setterinherited
visualDensity VisualDensity?
Overrides the default value for InputDecoration.visualDensity.
no setterinherited

Methods

copyWith({TextStyle? labelStyle, TextStyle? floatingLabelStyle, TextStyle? helperStyle, int? helperMaxLines, TextStyle? hintStyle, Duration? hintFadeDuration, int? hintMaxLines, TextStyle? errorStyle, int? errorMaxLines, FloatingLabelBehavior? floatingLabelBehavior, FloatingLabelAlignment? floatingLabelAlignment, bool? isDense, EdgeInsetsGeometry? contentPadding, bool? isCollapsed, Color? iconColor, TextStyle? prefixStyle, Color? prefixIconColor, BoxConstraints? prefixIconConstraints, TextStyle? suffixStyle, Color? suffixIconColor, BoxConstraints? suffixIconConstraints, TextStyle? counterStyle, bool? filled, Color? fillColor, BorderSide? activeIndicatorBorder, BorderSide? outlineBorder, Color? focusColor, Color? hoverColor, InputBorder? errorBorder, InputBorder? focusedBorder, InputBorder? focusedErrorBorder, InputBorder? disabledBorder, InputBorder? enabledBorder, InputBorder? border, bool? alignLabelWithHint, BoxConstraints? constraints, VisualDensity? visualDensity}) InputDecorationTheme
Creates a copy of this object but with the given fields replaced with the new values.
inherited
createElement() InheritedElement
Inflates this configuration to a concrete instance.
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
merge(InputDecorationTheme? other) InputDecorationTheme
Returns a copy of this InputDecorationTheme where the non-null fields in the given InputDecorationTheme override the corresponding nullable fields in this InputDecorationTheme.
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 brief description of this object, usually just the runtimeType and the hashCode.
inherited
updateShouldNotify(covariant InputDecorationTheme oldWidget) bool
Whether the framework should notify widgets that inherit from this widget.
inherited
wrap(BuildContext context, Widget child) Widget
Return a copy of this inherited theme with the specified child.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited