StyleStrategy class Null safety

Interface for providing common styling to a list of FortuneItems.

Implementers

Constructors

StyleStrategy()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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