GalleryOptions class

Constructors

GalleryOptions({ThemeMode? themeMode, double? textScaleFactor, CustomTextDirection? customTextDirection, Locale? locale, double? timeDilation, TargetPlatform? platform, bool? isTestMode})
const

Properties

customTextDirection → CustomTextDirection?
final
hashCode → int
The hash code for this object.
no setteroverride
isTestMode → bool?
final
locale → Locale?
no setter
platform → TargetPlatform?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
themeMode → ThemeMode?
final
timeDilation → double?
final

Methods

copyWith({ThemeMode? themeMode, double? textScaleFactor, CustomTextDirection? customTextDirection, Locale? locale, double? timeDilation, TargetPlatform? platform, bool? isTestMode}) → GalleryOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolvedSystemUiOverlayStyle() → SystemUiOverlayStyle
Returns a SystemUiOverlayStyle based on the ThemeMode setting. In other words, if the theme is dark, returns light; if the theme is light, returns dark.
resolvedTextDirection() → TextDirection?
Returns a text direction based on the CustomTextDirection setting. If it is based on locale and the locale cannot be determined, returns null.
textScaleFactor(BuildContext context, {bool useSentinel = false}) → double?
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

of(BuildContext context) → GalleryOptions?
update(BuildContext context, GalleryOptions newModel) → void