Set the background color for progress dialog
This commit is contained in:
parent
805f41f811
commit
786dba4514
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:photos/ui/loading_widget.dart';
|
||||
import 'package:progress_dialog/progress_dialog.dart';
|
||||
|
@ -10,6 +11,8 @@ ProgressDialog createProgressDialog(BuildContext context, String message) {
|
|||
);
|
||||
dialog.style(
|
||||
message: message,
|
||||
messageTextStyle: TextStyle(color: Colors.white),
|
||||
backgroundColor: Colors.grey[850],
|
||||
progressWidget: loadWidget,
|
||||
borderRadius: 4.0,
|
||||
elevation: 10.0,
|
||||
|
|
Loading…
Add table
Reference in a new issue