SparkTheme class

Constructors

SparkTheme({Color labelColor = _defaultFontColor, Color hitColor = _hitTextColor, double labelFontSize = _defaultFormItemFontSize, FontWeight labelFontWeight = FontWeight.w500, Color requiredColor = _errorOrRequiredColor, String requiredPrefix = '*', double formItemFontSize = _defaultFormItemFontSize, Color formItemColor = _defaultFormItemColor, Color formItemDisabledColor = _defaultFormItemDisabledColor, double labelWidth = _defaultLabelWidth, EdgeInsets labelPadding = EdgeInsets.zero, FocusDecoration formItemDecoration = _defaultFormDecoration, EdgeInsets formItemPadding = _defaultFormItemPadding, EdgeInsets formItemMargin = _defaultFormItemMargin, Size selectItemSize = _defaultSelectItemSize, SparkSelectDecoration selectedItemDecoration = _defaultSelectedDecoration, SparkSelectDecoration unSelectedItemDecoration = _defaultUnSelectedDecoration, Color errorColor = _errorOrRequiredColor, BoxDecoration tagItemDecoration = _defaultTagDecoration, BoxDecoration tagSelectedItemDecoration = _defaultTagSelectedDecoration, TextStyle tagStyle = _defaultTagItemStyle, TextStyle tagSelectedStyle = _defaultSelectedItemStyle, double tagMinWidth = _defaultTagWidth, Decoration tagAddDecoration = _defaultTagAddDecoration, EdgeInsets tagContentPadding = _defaultTagContentPadding, double hitFontSize = 12, Color labelTitleColor = _defaultFontColor, FontWeight labelTitleFontWeight = FontWeight.w400, double labelTitleFontSize = _defaultFormItemFontSize})
spark form theme default use in SparkForm
const

Properties

errorColor Color
final
formItemColor Color
final
formItemDecoration FocusDecoration
final
formItemDisabledColor Color
final
formItemFontSize double
final
formItemMargin EdgeInsets
final
formItemPadding EdgeInsets
final
hashCode int
The hash code for this object.
no setterinherited
hitColor Color
final
hitFontSize double
final
labelColor Color
final
labelFontSize double
final
labelFontWeight FontWeight
final
labelPadding EdgeInsets
final
labelTitleColor Color
final
labelTitleFontSize double
final
labelTitleFontWeight FontWeight
final
labelWidth double
final
requiredColor Color
final
requiredPrefix String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedItemDecoration SparkSelectDecoration
final
selectItemSize Size
final
tagAddDecoration Decoration
final
tagContentPadding EdgeInsets
final
tagItemDecoration BoxDecoration
final
tagMinWidth double
final
tagSelectedItemDecoration BoxDecoration
final
tagSelectedStyle TextStyle
final
tagStyle TextStyle
final
unSelectedItemDecoration SparkSelectDecoration
final

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