StyleStrategy class abstract

Interface for providing common styling to a list of FortuneItems.

Implementers

Constructors

StyleStrategy()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getItemStyle(ThemeData theme, int index, int itemCount) FortuneItemStyle
Creates an FortuneItemStyle based on the passed theme while considering an item's index with respect to the overall itemCount.
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