DropdownFieldTheme class
The theme of DropdownFieldBlocBuilder
Constructors
-
DropdownFieldTheme.new({TextStyle? textStyle, MaterialStateProperty<
Color?> ? textColor, InputDecorationTheme? decorationTheme, TextOverflow? textOverflow, int? maxLines, TextStyle? selectedTextStyle, int? selectedMaxLines, Widget? moreIcon}) -
const
Properties
- decorationTheme → InputDecorationTheme?
-
The theme for InputDecoration of this field
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxLines → int?
-
Defaults is
1
final - moreIcon → Widget?
-
Defaults is Icons.arrow_drop_down
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedMaxLines → int?
-
Defaults is DropdownFieldTheme.maxLines
final
- selectedTextStyle → TextStyle?
-
Defaults is
FieldTheme.textStyle
final - stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited -
textColor
→ MaterialStateProperty<
Color?> ? -
Resolves the color of the
textStyle
. You will receive MaterialState.disabledfinalinherited - textOverflow → TextOverflow?
-
Defaults is TextOverflow.ellipsis
final
- textStyle → TextStyle?
-
Represents the style of the text within the field
If null, defaults to the
subtitle
text style from the current Theme.finalinherited
Methods
-
copyWith(
{TextStyle? textStyle, MaterialStateProperty< Color?> ? textColor, InputDecorationTheme? decorationTheme, TextOverflow? textOverflow, int? maxLines, TextStyle? selectedTextStyle, int? selectedMaxLines, Widget? moreIcon}) → DropdownFieldTheme -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
[ToString? toString]) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited