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, Widget child })

Creates a slice of Material that's mergeable within a MergeableMaterial.

Properties

child → Widget

The contents of this slice.

read-only
hashCode → int

Get a hash code for this object.

read-only, inherited
key → LocalKey

The key for this item of the list.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

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