build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Build the Widget. Instead of overriding this function, override buildChild so that all gesture detectors can be set up automatically.

Implementation

@override
Widget build(BuildContext context) {
  return ClipRect(
    clipBehavior: widget.clipBehavior,
    child: super.build(context),
  );
}