FieldDividerStyles class
Defines form inner divider styles for the CardDetailsFormTextField widget
Widgets using this class will use default values from the app's theme, as defined in FieldDividerStyles.merge
Constructors
- FieldDividerStyles({required Color? dividerColor, required double? dividerWidth})
-
Define custom divider styles by providing values for each field
const
- FieldDividerStyles.merge({FieldDividerStyles? otherStyles, required ThemeData? theme})
-
Define custom divider styles by merging
otherStylesand values fromthemefactory - FieldDividerStyles.only({Color? dividerColor, double? dividerWidth})
-
Define custom divider styles by providing values for only the fields you want to customize
const
Properties
- dividerColor → Color?
-
The color of the widget's inner dividers
final
- dividerWidth → double?
-
The width of the widget's inner dividers
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultBorderColor → const Color
- Default divider color
- defaultDividerWidth → const double
- Default divider width
- formDefaults → const FieldDividerStyles
- Convenience property for getting a FieldDividerStyles instance with defaults for the CardDetailsFormTextField widget