ElementaryProperties class
- Annotations
Constructors
- ElementaryProperties({Brightness? forzeThemeMode, Configuration components = const Configuration(), Configuration fundations = const Configuration(), ScrollPhysics physics = const ClampingScrollPhysics(), double minScaleFactor = 0.5, double maxScaleFactor = 1.2})
-
Creates a ElementaryProperties tha's used to configure ElementaryUI
const
Properties
- forzeThemeMode → Brightness?
-
By default uses a system config
if you pass a mode, it will be forced to this one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxScaleFactor → double
-
final
- minScaleFactor → double
-
final
- physics → ScrollPhysics
-
The default Scroll physics for this theme.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
components(
{Brightness? brightness}) → Map< Type, dynamic> -
Convert the
_componentspassed to ElementaryProperties.new to the stored Elementary.components map, where each entry's key consists of the kind type, theme resolved. -
fundations(
{Brightness? brightness}) → Map< Type, dynamic> -
Convert the
_fundationspassed to ElementaryProperties.new to the stored fundations map, where each entry's key consists of the kind type, theme resolved. -
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