ElThemeDataGenerate class

Annotations
  • @Target.new({TargetKind.classType})

Constructors

ElThemeDataGenerate({bool generateThemeWidget = true, bool generateAnimatedThemeWidget = false, String desc = '', bool ignoreGlobalTheme = false})
生成局部主题配置类,主题类必须提供 theme、darkTheme 默认静态对象:
const

Properties

desc String
生成的全局主题代码注释
final
generateAnimatedThemeWidget bool
生成局部动画主题小部件,默认 false,如果 generateThemeWidget 为 false,那么此选项会失效
final
generateThemeWidget bool
是否生成局部主题小部件,默认 true
final
hashCode int
The hash code for this object.
no setterinherited
ignoreGlobalTheme bool
是否忽略全局主题配置,若为 true,ElGlobalThemeDataGenerate 会忽略此类
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