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
Hide 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,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
),
...
...
pubspec.yaml
View file @
c68ab827
...
...
@@ -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:
...
...
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