create method Null safety
- {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}
factory">@factory
The factory method.
Subclasses should override this method to return a new instance of an InteractiveInkFeature.
Implementation
@factory
InteractiveInkFeature 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,
});