build method

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

使用IgnorePointer,方便手势透传过去

Implementation

@override
Widget build(BuildContext context) {
  return IgnorePointer(
    child: Material(color: Colors.transparent, child: widget),
  );
}