Skip to content

Commit af17fae

Browse files
author
Jens Becker
committed
Add box shadow to flashbars
and update dependencies
1 parent b858c3f commit af17fae

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

lib/src/extensions/build_context/flashbars.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ extension FlashbarHelpers on BuildContext {
1818
return Flash<Flash>.bar(
1919
controller: controller,
2020
backgroundColor: Theme.of(this).dialogBackgroundColor,
21+
boxShadows: const [
22+
BoxShadow(
23+
color: Colors.black26,
24+
blurRadius: 25,
25+
)
26+
],
2127
borderRadius: const BorderRadius.all(Radius.circular(10)),
2228
margin: const EdgeInsets.all(Insets.l),
2329
child: FlashBar(

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ dependencies:
1414
intl: ^0.17.0
1515
universal_platform: ^1.0.0+1
1616
font_awesome_flutter: ^9.2.0
17-
flash: ^2.0.3+1
17+
flash: ^2.0.3+2
1818
flutter_lints: ^1.0.4
19-
dart_code_metrics: ^4.8.1
19+
dart_code_metrics: ^4.9.0
2020

2121
dev_dependencies:
2222
test: ^1.17.9

0 commit comments

Comments
 (0)