Commit c68ab827 authored by Indika NK's avatar Indika NK

added smart notificator animation

parent ed9ff109
...@@ -27,8 +27,10 @@ class _NotificationScreenState extends State<MainNotificationUI> { ...@@ -27,8 +27,10 @@ class _NotificationScreenState extends State<MainNotificationUI> {
mainAxisAlignment: MainAxisAlignment.end, mainAxisAlignment: MainAxisAlignment.end,
children: [ children: [
Padding( Padding(
padding: const EdgeInsets.fromLTRB(8,8,8,8), padding: const EdgeInsets.all(8.0),
child: SizedBox( child: Image.asset('lib/assets/images/notify.gif'),
),
SizedBox(
child: ElevatedButton( child: ElevatedButton(
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
primary: Colors.green[300], primary: Colors.green[300],
...@@ -43,7 +45,6 @@ class _NotificationScreenState extends State<MainNotificationUI> { ...@@ -43,7 +45,6 @@ class _NotificationScreenState extends State<MainNotificationUI> {
}, child: Text("Local Notifications")), }, child: Text("Local Notifications")),
), ),
),
Padding( Padding(
padding: const EdgeInsets.fromLTRB(8,8,8,100), padding: const EdgeInsets.fromLTRB(8,8,8,100),
child: SizedBox( child: SizedBox(
......
...@@ -125,6 +125,7 @@ flutter: ...@@ -125,6 +125,7 @@ flutter:
- lib/assets/images/wear.gif - lib/assets/images/wear.gif
- lib/assets/images/hospital.gif - lib/assets/images/hospital.gif
- lib/assets/images/lab.gif - lib/assets/images/lab.gif
- lib/assets/images/notify.gif
# To add assets to your application, add an assets section, like this: # To add assets to your application, add an assets section, like this:
# assets: # assets:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment