An interface for creating InkSplashs and InkHighlights on a material.

Typically obtained via Material.of.

Constructors

MaterialInkController()

Properties

color Color

The color of the material.

read-only
hashCode int

Get a hash code for this object.

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

addInkFeature(InkFeature feature) → void

Add an arbitrary InkFeature to this InkController.

highlightAt({RenderBox referenceBox, Color color, BoxShape shape: BoxShape.rectangle, RectCallback rectCallback, VoidCallback onRemoved }) InkHighlight

Begin a highlight animation. If a rectCallback is given, then it provides the highlight rectangle, otherwise, the highlight rectangle is coincident with the referenceBox.

splashAt({RenderBox referenceBox, Point position, Color color, bool containedInkWell: false, RectCallback rectCallback, VoidCallback onRemoved, double radius }) InkSplash

Begin a splash, centered at position relative to referenceBox.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited