build method
使用IgnorePointer,方便手势透传过去
Implementation
@override
Widget build(BuildContext context) {
return IgnorePointer(
child: Material(color: Colors.transparent, child: widget),
);
}
使用IgnorePointer,方便手势透传过去
@override
Widget build(BuildContext context) {
return IgnorePointer(
child: Material(color: Colors.transparent, child: widget),
);
}