StdThemesDatasource class
Standard implementation of ThemesDatasource.
- Inheritance
-
- Object
- ILoggable
- Datasource
- ThemesDatasource
- StdThemesDatasource
Constructors
Properties
- defaultTheme → ThemeBase
-
The default theme to use.
no setteroverride
- errorLevel → Level
-
The level to log error messages at.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → Level
-
The level to log messages at.
no setterinherited
- name → String
-
The name of the datasource.
no setterinherited
- namespace → String
-
The namespace to log messages under.
e.g. 'Service.Auth'
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
Disposes controllers, streams, etc.
inherited
-
getThemes(
) → List< ThemeBase> -
Returns a list of all themes available.
override
-
log(
Object message, [Object? error, StackTrace? stackTrace]) → void -
Logs a message with an optional error and stack trace.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
systemTheme(
) → ThemeBase -
Returns the system theme (light or dark).
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited