BaseThemeData class

BaseThemeData Special properties values global setting Reference ThemeData

Mixed-in types
Annotations

Constructors

BaseThemeData({Brightness? brightness, double? appBarHeight, bool appBarBackdropFilter = true, bool appBarTransitionBetweenRoutes = true, ThemeData? materialTheme, ThemeData? materialDarkTheme, ThemeData? materialHighContrastTheme, ThemeData? materialHighContrastDarkTheme, CupertinoThemeData? cupertinoTheme, bool useMaterial3 = true, bool routeFullscreenGackGesture = false, Color? sectionDividerColor, Color? tileBackgroundColor, BasePlatformMode? platformMode = const BasePlatformMode(), bool withoutSplashOnCupertino = true, BaseParam? baseParam})
factory
BaseThemeData.raw({Brightness? brightness, double? appBarHeight, bool? appBarBackdropFilter, bool? appBarTransitionBetweenRoutes, ThemeData? materialTheme, ThemeData? materialDarkTheme, ThemeData? materialHighContrastTheme, ThemeData? materialHighContrastDarkTheme, CupertinoThemeData? cupertinoTheme, bool useMaterial3 = true, bool routeFullscreenGackGesture = false, Color? sectionDividerColor, Color? tileBackgroundColor, BasePlatformMode? platformMode = const BasePlatformMode(), bool withoutSplashOnCupertino = true, BaseParam? baseParam})
const

Properties

appBarBackdropFilter → bool?
BaseAppBar.appBarBackdropFilter
final
appBarHeight → double?
BaseAppBar.height
final
appBarTransitionBetweenRoutes → bool?
BaseAppBar.appBarTransitionBetweenRoutes
final
baseParam → BaseParam?
See also:
final
brightness → Brightness?
final
cupertinoTheme → CupertinoThemeData?
CupertinoApp.theme When using Cupertino components in Material mode, you can use CupertinoTheme.of(context) to get BaseApp.cupertinoTheme
final
hashCode → int
The hash code for this object.
no setterinherited
materialDarkTheme → ThemeData?
MaterialApp.materialDarkTheme When using Material components in Cupertino mode, you can use Theme.of(context) to get BaseApp.materialDarkTheme
final
materialHighContrastDarkTheme → ThemeData?
MaterialApp.highContrastDarkTheme When using Material components in Cupertino mode, you can use Theme.of(context) to get BaseApp.highContrastDarkTheme
final
materialHighContrastTheme → ThemeData?
MaterialApp.highContrastTheme When using Material components in Cupertino mode, you can use Theme.of(context) to get BaseApp.highContrastTheme
final
materialTheme → ThemeData?
MaterialApp.theme When using Material components in Cupertino mode, you can use Theme.of(context) to get BaseApp.materialTheme
final
platformMode → BasePlatformMode?
Platform mode base platform mode
final
routeFullscreenGackGesture → bool
BaseRoute.fullscreenGackGesture
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sectionDividerColor → Color?
BaseSection's divider's color BaseSection's divider color
final
tileBackgroundColor → Color?
BaseTile's BackgroundColor BaseTile's background color Recommended to use BaseColor().build(context) to build 2 colors
final
useMaterial3 → bool
Enable Material 3 design system Enable Material 3 design system
final
withoutSplashOnCupertino → bool
Whether to remove ripple effects when using Material components in Cupertino mode Use Material Widget without splash on Cupertino's mode
final

Methods

copyWith({Brightness? brightness, double? appBarHeight, bool? appBarBackdropFilter, bool? appBarTransitionBetweenRoutes, ThemeData? materialTheme, ThemeData? materialDarkTheme, ThemeData? materialHighContrastTheme, ThemeData? materialHighContrastDarkTheme, CupertinoThemeData? cupertinoTheme, bool? routeFullscreenGackGesture, Color? sectionDividerColor, Color? tileBackgroundColor, BasePlatformMode? platformMode, bool? withoutSplashOnCupertino, BaseParam? baseParam}) → BaseThemeData
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringShort() → String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
valueOf(String key, dynamic value) → dynamic

Operators

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