Commit c68ab827 authored by Indika NK's avatar Indika NK

added smart notificator animation

parent ed9ff109
......@@ -27,22 +27,23 @@ class _NotificationScreenState extends State<MainNotificationUI> {
mainAxisAlignment: MainAxisAlignment.end,
children: [
Padding(
padding: const EdgeInsets.fromLTRB(8,8,8,8),
child: SizedBox(
child: ElevatedButton(
style: ElevatedButton.styleFrom(
primary: Colors.green[300],
elevation: 15,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12)
)
),
onPressed: (){
padding: const EdgeInsets.all(8.0),
child: Image.asset('lib/assets/images/notify.gif'),
),
SizedBox(
child: ElevatedButton(
style: ElevatedButton.styleFrom(
primary: Colors.green[300],
elevation: 15,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12)
)
),
onPressed: (){
Navigator.push(context, MaterialPageRoute(builder: (context) => LocalNotificationScreen() ));
Navigator.push(context, MaterialPageRoute(builder: (context) => LocalNotificationScreen() ));
}, child: Text("Local Notifications")),
),
}, child: Text("Local Notifications")),
),
Padding(
padding: const EdgeInsets.fromLTRB(8,8,8,100),
......
......@@ -125,6 +125,7 @@ flutter:
- lib/assets/images/wear.gif
- lib/assets/images/hospital.gif
- lib/assets/images/lab.gif
- lib/assets/images/notify.gif
# To add assets to your application, add an assets section, like this:
# 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