StyleHelper class

Helper class for managing and checking different UI styles.

Constructors

StyleHelper({required Style style})
Creates a StyleHelper with the given style.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isCupertino bool
Checks if the current style is Cupertino design.
no setter
isCustom bool
Checks if the current style is Custom design.
no setter
isLatestIOS bool
Checks if the current style is the latest iOS design.
no setter
isMaterial bool
Checks if the current style is Material design.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style Style
The current style.
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

Constants

cupertino → const StyleHelper
A StyleHelper instance for Cupertino design style.
custom → const StyleHelper
A StyleHelper instance for Custom design style.
latestIOS → const StyleHelper
A StyleHelper instance for the latest iOS design style.
material → const StyleHelper
A StyleHelper instance for Material design style.