Style class

Implementers

Constructors

Style({required ThemeMode mode, StyleTag tag = StyleTag.all, double? borderRadius = 8.0, double? borderWidth = 1.0, EdgeInsets? padding, String? fontFamily, double? fontSize, double? fontWeight, Color? background, Color? primary, Color? foreground, Color? border, Color? secondary})

Properties

alignment AlignmentGeometry?
getter/setter pair
background Color?
----------------------- Colors
getter/setter pair
blur double?
getter/setter pair
border Color?
getter/setter pair
borderRadius double?
getter/setter pair
borderWidth double?
getter/setter pair
elevation double?
getter/setter pair
fontFamily String?
---------------------- Text Style
getter/setter pair
fontSize double?
getter/setter pair
fontWeight double?
getter/setter pair
foreground Color?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double?
getter/setter pair
margin EdgeInsets?
getter/setter pair
maxHeight double?
getter/setter pair
maxWidth double?
getter/setter pair
mode ThemeMode
getter/setter pair
opacity double?
getter/setter pair
padding EdgeInsets?
getter/setter pair
primary Color?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color?
getter/setter pair
shadow Color?
getter/setter pair
size double?
---------------------- Sizing
getter/setter pair
surfaceTint Color?
getter/setter pair
tag StyleTag
getter/setter pair
textAlign TextAlign?
getter/setter pair
width double?
getter/setter pair

Methods

colorScheme() ColorScheme
compareTags(List<StyleTag> tags) bool
hasBorder() bool
hasShape() bool
merge(Style newStyle) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shape() ShapeBorder?
textStyle() TextStyle?
toString() String
A string representation of this object.
inherited

Operators

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