AFFundamentalDeviceTheme class
These are fundamental values for theming derived from the device and operating system itself.
Constructors
- AFFundamentalDeviceTheme({required Brightness brightnessValue, required bool alwaysUse24HourFormatValue, required ViewPadding padding, required ViewPadding viewInsets, required ViewPadding viewPadding, required Locale localeValue, required Size physicalSize, required Size logicalSize, required double textScaleFactorValue, required double devicePixelRatio})
- AFFundamentalDeviceTheme.create()
-
factory
Properties
- alwaysUse24HourFormatValue → bool
-
final
- brightnessValue → Brightness
-
final
- devicePixelRatio → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- localeValue → Locale
-
final
- logicalSize → Size
-
final
- padding → ViewPadding
-
final
- physicalSize → Size
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textScaleFactorValue → double
-
final
- viewInsets → ViewPadding
-
final
- viewPadding → ViewPadding
-
final
Methods
-
alwaysUse24HourFormat(
AFFundamentalThemeState fundamentals) → bool -
brightness(
AFFundamentalThemeState fundamentals) → Brightness -
findDeviceValue(
AFThemeID id) → dynamic -
isDeviceId(
AFThemeID id) → bool -
locale(
AFFundamentalThemeState fundamentals) → Locale -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
textScaleFactor(
AFFundamentalThemeState fundamentals) → double -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited