colour change for notification pop up
This commit is contained in:
parent
16f92d5579
commit
1389a40483
1 changed files with 2 additions and 2 deletions
|
|
@ -132,7 +132,7 @@ class _MIHNotificationMessageState extends State<MIHNotificationMessage>
|
||||||
super.initState();
|
super.initState();
|
||||||
setState(() {
|
setState(() {
|
||||||
primary = MzanziInnovationHub.of(context)!.theme.primaryColor();
|
primary = MzanziInnovationHub.of(context)!.theme.primaryColor();
|
||||||
secondary = MzanziInnovationHub.of(context)!.theme.secondaryColor();
|
secondary = MzanziInnovationHub.of(context)!.theme.errorColor();
|
||||||
});
|
});
|
||||||
_animationController = AnimationController(
|
_animationController = AnimationController(
|
||||||
vsync: this,
|
vsync: this,
|
||||||
|
|
@ -164,7 +164,7 @@ class _MIHNotificationMessageState extends State<MIHNotificationMessage>
|
||||||
return SlideTransition(
|
return SlideTransition(
|
||||||
position: _scaleAnimation,
|
position: _scaleAnimation,
|
||||||
child: Dialog(
|
child: Dialog(
|
||||||
shadowColor: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
shadowColor: secondary,
|
||||||
alignment: Alignment.topCenter,
|
alignment: Alignment.topCenter,
|
||||||
child: notifyPopUp(),
|
child: notifyPopUp(),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue