CustomInkRippleFactory class
The factory of CustomInkRipple, you can use CustomInkRipple.splashFactory to create a default CustomInkRipple, you can also use this class with setting field to create a customizable CustomInkRipple.
- Inheritance
-
- Object
- InteractiveInkFeatureFactory
- CustomInkRippleFactory
Constructors
- CustomInkRippleFactory({CustomInkRippleSetting setting = CustomInkRippleSetting.defaultSetting})
-
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
- setting → CustomInkRippleSetting
-
The settings for CustomInkRipple.
final
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.
override
-
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