WidgetTheme class

Set the theme for the widget.

If you pass the theme data to UIMaterialApp, it will be used internally as the default for various widgets.

Constructors

WidgetTheme({Widget loadingIndicator(BuildContext context, Color? color)? = _loadingIndicator})
Set the theme for the widget.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
loadingIndicator → (Widget Function(BuildContext context, Color? color)?)
Loading indicator.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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.
inherited

Static Methods

of(BuildContext context) WidgetTheme
Get WidgetTheme.