A class that can be used as a child to MergeableMaterial. It is a slice of Material that animates merging with other slices.

All MaterialSlice objects need a LocalKey.

Inheritance

Constructors

MaterialSlice({@required LocalKey key, @required Widget child })
Creates a slice of Material that's mergeable within a MergeableMaterial.
const

Properties

child Widget
The contents of this slice.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
key LocalKey
The key for this item of the list. [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(other) bool
The equality operator. [...]
inherited