CustomTheme class

Inheritance

Constructors

CustomTheme.new({NoticeThemeData noticeTheme = const NoticeThemeData(), LoadingThemeData loadingTheme = const LoadingThemeData(), LoadingStatusThemeData loadingStatusTheme = const LoadingStatusThemeData(), CustomRefreshThemeData customRefreshTheme = const CustomRefreshThemeData(), LoadingFutureThemeData loadingFutureTheme = const LoadingFutureThemeData(), CustomOverlayThemeData customOverlayTheme = const CustomOverlayThemeData(), CustomDialogThemeData customDialogTheme = const CustomDialogThemeData(), CustomImageThemeData customImageTheme = const CustomImageThemeData()})
const

Properties

customDialogTheme CustomDialogThemeData
final
customImageTheme CustomImageThemeData
final
customOverlayTheme CustomOverlayThemeData
final
customRefreshTheme CustomRefreshThemeData
final
hashCode int
The hash code for this object.
no setteroverride
loadingFutureTheme LoadingFutureThemeData
final
loadingStatusTheme LoadingStatusThemeData
final
loadingTheme LoadingThemeData
final
noticeTheme NoticeThemeData
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Object
The extension's type.
no setterinherited

Methods

copyWith({NoticeThemeData? noticeTheme, LoadingThemeData? loadingTheme, LoadingStatusThemeData? loadingStatusTheme, CustomRefreshThemeData? customRefreshTheme, LoadingFutureThemeData? loadingFutureTheme, CustomOverlayThemeData? customOverlayTheme, CustomDialogThemeData? customDialogTheme, CustomImageThemeData? customImageTheme}) ThemeExtension<CustomTheme>
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<CustomTheme>? other, double t) ThemeExtension<CustomTheme>
Linearly interpolate with another ThemeExtension object.
override
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.
override

Static Methods

maybeOf(BuildContext context) CustomTheme?
of(BuildContext context) CustomTheme