File tree Expand file tree Collapse file tree
playground/frontend/playground_components/lib/src/widgets/overlay Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ import 'package:flutter/material.dart';
2121import '../../../playground_components.dart' ;
2222
2323class BeamOverlays {
24- // TODO(nausharipov) review: add label?
25- // TODO(nausharipov) review: add grey-ish background?
2624 static Future <void > showProgressOverlay (
2725 BuildContext context,
2826 Future Function () future,
@@ -32,9 +30,11 @@ class BeamOverlays {
3230 context: context,
3331 closeNotifier: closeNotifier,
3432 isDismissible: false ,
35- positioned: const Positioned .fill (
36- child: Align (
37- child: CircularProgressIndicator (),
33+ positioned: Positioned .fill (
34+ child: Container (
35+ alignment: Alignment .center,
36+ color: Theme .of (context).dialogBackgroundColor.withOpacity (0.2 ),
37+ child: const CircularProgressIndicator (),
3838 ),
3939 ),
4040 );
Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ import 'package:flutter/material.dart';
2020
2121class BeamOverlay extends StatelessWidget {
2222 final VoidCallback close;
23- final Positioned child;
2423 final bool isDismissible;
24+ final Positioned child;
2525
2626 const BeamOverlay ({
2727 required this .close,
28- required this .child,
2928 required this .isDismissible,
29+ required this .child,
3030 });
3131
3232 @override
You can’t perform that action at this time.
0 commit comments