FortuneItemStyle class

Represents the style of a single FortuneItem.

See also:

Annotations

Constructors

FortuneItemStyle({Color color = Colors.white, Color borderColor = Colors.black, double borderWidth = 1.0, TextAlign textAlign = TextAlign.start, TextStyle textStyle = const TextStyle()})
const
FortuneItemStyle.disabled(ThemeData theme, {double opacity = 0.0})
Creates an opinionated disabled style based on the current ThemeData.

Properties

borderColor Color
The color used for painting the border of a FortuneItem.
final
borderWidth double
The border width of a FortuneItem.
final
color Color
The color used for filling the background of a FortuneItem.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textAlign TextAlign
The alignment of text within a FortuneItem
final
textStyle TextStyle
The text style to use within a FortuneItem
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.
override