ThemeFeature class

Inheritance
  • Object
  • DartBoardFeature
  • ThemeFeature
Mixed in types

Constructors

ThemeFeature({required ThemeData data, ThemeData middleware(ThemeData data)?})

Properties

appDecorations List<DartBoardDecoration>
The app decorations (global)
no setterinherited
data ThemeData
getter/setter pair
dependencies List<DartBoardFeature>
no setterinherited
enabled bool
This can be used to allow an extension to exclude itself. E.g. Based on platform
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
implementationName String
no setteroverride
isIntegrationFeature bool
This is a hint if a feature is "Integration" or not. The only difference here is that "Integration" features are not displayed in the dependency graph (to many edges, looks ugly)
no setterinherited
methodHandlers Map<String, MethodCallHandler>
This map of method handlers can be used to define callbacks
no setteroverride
middleware ↔ (ThemeData Function(ThemeData data)?)
getter/setter pair
namespace String
A namespace to prefix to reference this feature by Please make it unique
no setteroverride
pageDecorationAllowList List<String>
Allow list for page decorations in the format "/route:page_decoration_name"
no setterinherited
pageDecorationDenyList List<String>
Deny list for page decorations in the format "/route:page_decoration_name"
no setterinherited
pageDecorations List<DartBoardDecoration>
The page decorations (page level)
no setteroverride
routes List<RouteDefinition>
The route definitions
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
toString() String
A string representation of this object.
inherited

Operators

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