Skip to content

Commit

Permalink
Merge pull request #200 from arnovanliere/feature/dialog-barrier-color
Browse files Browse the repository at this point in the history
Add 'barrierColor' as parameter to 'showDialog'
  • Loading branch information
yangyxd authored Sep 25, 2024
2 parents 0e901af + 94f18b4 commit 4e4d9ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,12 @@ class Picker {
Future<List<int>?> showDialog(BuildContext context,
{bool barrierDismissible = true,
Color? backgroundColor,
Color? barrierColor,
PickerWidgetBuilder? builder,
Key? key}) {
return Dialog.showDialog<List<int>>(
context: context,
barrierColor: barrierColor,
barrierDismissible: barrierDismissible,
builder: (BuildContext context) {
final actions = <Widget>[];
Expand Down

0 comments on commit 4e4d9ee

Please sign in to comment.