InteractiveInkFeatureFactory class abstract
An encapsulation of an InteractiveInkFeature constructor used by InkWell, InkResponse, and ThemeData.
Interactive ink feature implementations should provide a static const
splashFactory
value that's an instance of this class. The splashFactory
can be used to configure an InkWell, InkResponse or ThemeData.
See also:
Constructors
- InteractiveInkFeatureFactory()
-
Abstract const constructor. This constructor enables subclasses to provide
const constructors so that they can be used in const expressions.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
{required MaterialInkController controller, required RenderBox referenceBox, required Offset position, required Color color, required TextDirection textDirection, bool containedInkWell = false, RectCallback? rectCallback, BorderRadius? borderRadius, ShapeBorder? customBorder, double? radius, VoidCallback? onRemoved}) → InteractiveInkFeature - The factory method.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited