build method
Builds the widget with extra visual effects that are applied alongside the scaling behavior, such as opacity or shadow changes.
Used to enhance the visual response when a widget scales, based on the state provided by the TouchScaleController.
If you override this method to customize the effects, consider wrapping the child in a RepaintBoundary to optimize performance.
Implementation
@override
Widget build(
BuildContext context,
Widget child,
TouchScaleController controller,
) {
return RepaintBoundary(child: child);
}