TapRegion constructor Null safety
- {Key? key,
- required Widget? child,
- bool enabled = true,
- TapRegionCallback? onTapOutside,
- TapRegionCallback? onTapInside,
- Object? groupId,
- String? debugLabel}
Creates a const TapRegion.
The child argument is required.
Implementation
const TapRegion({
super.key,
required super.child,
this.enabled = true,
this.onTapOutside,
this.onTapInside,
this.groupId,
String? debugLabel,
}) : debugLabel = kReleaseMode ? null : debugLabel;