Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-035-CoviDefender
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021-035
2021-035-CoviDefender
Commits
c68ab827
Commit
c68ab827
authored
Aug 01, 2021
by
Indika NK
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added smart notificator animation
parent
ed9ff109
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
14 deletions
+16
-14
lib/assets/images/notify.gif
lib/assets/images/notify.gif
+0
-0
lib/pages/notificator/ui/MainNotificationUI.dart
lib/pages/notificator/ui/MainNotificationUI.dart
+15
-14
pubspec.yaml
pubspec.yaml
+1
-0
No files found.
lib/assets/images/notify.gif
0 → 100644
View file @
c68ab827
1.44 MB
lib/pages/notificator/ui/MainNotificationUI.dart
View file @
c68ab827
...
@@ -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
(
...
...
pubspec.yaml
View file @
c68ab827
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment