colour change for notification pop up
This commit is contained in:
@@ -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(),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user