Elementary class
- Inheritance
- Mixed-in types
- Annotations
Constructors
-
Elementary({required ScrollPhysics physics, Map<
Type, ElementaryBase> components = const {}, Map<Type, ElementaryBase> fundations = const {}}) -
const
Properties
-
components
→ Map<
Type, ElementaryBase> -
final
-
fundations
→ Map<
Type, ElementaryBase> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- physics → ScrollPhysics
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
component<
T> () → T? - Used to obtain a particular ElementaryBase from components.
-
copyWith(
{Map< Type, ElementaryBase> ? components, Map<Type, ElementaryBase> ? fundations, ScrollPhysics? physics}) → Elementary -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
fundation<
T> () → T? -
lerp(
Elementary b, double t) → Elementary - Linearly interpolate between two themes.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replaceKind<
Kind extends ElementaryBase> ({required ElementaryBase kind}) → Elementary - Replace current kind in the ElementaryThemeData.
-
replaceMultipleKind(
{required Map< Type, ElementaryBase> kinds}) → Elementary - Replace all kinds provide.
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context, {bool listen = true}) → Elementary