create method
InteractiveInkFeature
create({
- required MaterialInkController controller,
- required RenderBox referenceBox,
- Offset? position,
- Color? color,
- TextDirection? textDirection,
- bool containedInkWell = false,
- RectCallback? rectCallback,
- BorderRadius? borderRadius,
- ShapeBorder? customBorder,
- double? radius,
- VoidCallback? onRemoved,
override
The factory method.
Subclasses should override this method to return a new instance of an InteractiveInkFeature.
Implementation
@override
InteractiveInkFeature create({
required MaterialInkController controller,
required RenderBox referenceBox,
Offset? position,
Color? color,
TextDirection? textDirection,
bool containedInkWell = false,
rectCallback,
BorderRadius? borderRadius,
ShapeBorder? customBorder,
double? radius,
onRemoved,
}) {
return NoSplashInk(controller: controller, referenceBox: referenceBox);
}