9bd2286eb5
Changelog: iOS-style surfaces, alerts and sheets; clearer TV focus
14 lines
329 B
Dart
14 lines
329 B
Dart
import 'package:material_ui/material_ui.dart';
|
|
|
|
class ActivateBox extends StatelessWidget {
|
|
final Widget child;
|
|
final bool active;
|
|
|
|
const ActivateBox({super.key, required this.child, this.active = false});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return IgnorePointer(ignoring: !active, child: child);
|
|
}
|
|
}
|