EufemiaThemeAdapter class

An adapter bridging Eufemia and ThemeData.

Constructors

EufemiaThemeAdapter(BuildContext context, [Color statusBarColor])

Properties

context BuildContext
The current context.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
statusBarColor Color
The Color to set the system status bar to.
final
theme ThemeData
Returns a ThemeData instance created from the context's current Eufemia theme.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

getOverlayStyle(Brightness brightness, Color statusBarColor) SystemUiOverlayStyle
Returns a SystemUiOverlayStyle object which can be used with SystemChrome to well, set the System UI overlay style. [...]
setStatusBarColor({Color statusBarColor, Brightness brightness}) → void
Sets the system's status bar color. statusBarColor: Sets the status bar color. Defaults to Colors.transparent