Elementary class

Inheritance
Mixed-in types
Annotations

Constructors

Elementary({required ScrollPhysics physics, Map<Type, dynamic> components = const {}, Map<Type, dynamic> fundations = const {}})
const

Properties

components Map<Type, dynamic>
final
fundations Map<Type, dynamic>
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, dynamic>? components, Map<Type, dynamic>? 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 dynamic>({required dynamic kind}) Elementary
Replace current kind in the ElementaryThemeData.
replaceMultipleKind({required Map<Type, dynamic> 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