Inheritance
System.Object
Theme
public class Theme : StatelessWidget
Constructors
Declaration
public Theme(Key key = null, ThemeData data = null, bool isMaterialAppTheme = false, Widget child = null)
Parameters
Type |
Name |
Description |
Key |
key |
|
ThemeData |
data |
|
System.Boolean |
isMaterialAppTheme |
|
Widget |
child |
|
Fields
Declaration
public readonly ThemeData data
Field Value
Declaration
public readonly bool isMaterialAppTheme
Field Value
Type |
Description |
System.Boolean |
|
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
of(BuildContext, Boolean)
Declaration
public static ThemeData of(BuildContext context, bool shadowThemeOnly = false)
Parameters
Type |
Name |
Description |
BuildContext |
context |
|
System.Boolean |
shadowThemeOnly |
|
Returns