build abstract method

Widget build(
  1. BuildContext context,
  2. Widget child,
  3. TouchScaleController controller
)

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

Widget build(
  BuildContext context,
  Widget child,
  TouchScaleController controller,
);