Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
RIT_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
고원빈
2021-05-14 11:51:35 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fd6d8d4969dc636d024028f92c2eabc9b9a2fcc4
fd6d8d49
1 parent
67d1d2ef
[frontend] 알람 설정 완료
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
74 additions
and
4 deletions
frontend/README.md
frontend/flutter_application_1/android/app/src/main/AndroidManifest.xml
frontend/flutter_application_1/android/app/src/main/res/drawable/app_icon.png
frontend/flutter_application_1/android/settings_aar.gradle
frontend/flutter_application_1/lib/src/screens/DashBoard.dart
frontend/flutter_application_1/pubspec.lock
frontend/flutter_application_1/pubspec.yaml
frontend/README.md
View file @
fd6d8d4
...
...
@@ -37,3 +37,8 @@ appbar 관련 디자인은 추후 구현 예정
![
Screenshot_1620749274
](
/uploads/6fe43fa280007f97572a59f45e138b75/Screenshot_1620749274.png
)
### 2021-05-13
+
flutter notification 추가 알람 설정 완료
+
datetime picker widget을 이용하여 시간 선택 구현 예정
+
알람 설정을 위한 Android Mainfest 설정 , 사용자 권한 요구
...
...
frontend/flutter_application_1/android/app/src/main/AndroidManifest.xml
View file @
fd6d8d4
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.example.flutter_application_1"
>
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<uses-permission
android:name=
"android.permission.RECEIVE_BOOT_COMPLETED"
/>
<uses-permission
android:name=
"android.permission.VIBRATE"
/>
<uses-permission
android:name=
"android.permission.VIBRATE"
/>
<application
android:name=
"io.flutter.app.FlutterApplication"
android:label=
"flutter_application_1"
...
...
@@ -37,7 +41,17 @@
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
<receiver
android:name=
"com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver"
>
<intent-filter>
<action
android:name=
"android.intent.action.BOOT_COMPLETED"
/>
<action
android:name=
"android.intent.action.MY_PACKAGE_REPLACED"
/>
</intent-filter>
</receiver>
<receiver
android:name=
"com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver"
/>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
...
...
frontend/flutter_application_1/android/app/src/main/res/drawable/app_icon.png
0 → 100644
View file @
fd6d8d4
7.17 KB
frontend/flutter_application_1/android/settings_aar.gradle
0 → 100644
View file @
fd6d8d4
include
':app'
frontend/flutter_application_1/lib/src/screens/DashBoard.dart
View file @
fd6d8d4
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_application_1/src/screens/SettingPage.dart'
;
import
'../shared/colors.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
class
DashBoard
extends
StatefulWidget
{
int
pageNumber
=
1
;
...
...
@@ -17,7 +15,6 @@ class _DashBoardState extends State<DashBoard> {
Widget
build
(
BuildContext
context
)
{
_selectedIndex
=
widget
.
pageNumber
;
final
Size
size
=
MediaQuery
.
of
(
context
).
size
;
var
_tabs
=
[
ineerInformationpage
(
context
),
...
...
frontend/flutter_application_1/pubspec.lock
View file @
fd6d8d4
...
...
@@ -55,6 +55,27 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_datetime_picker:
dependency: "direct main"
description:
name: flutter_datetime_picker
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.0"
flutter_local_notifications:
dependency: "direct main"
description:
name: flutter_local_notifications
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.0+1"
flutter_local_notifications_platform_interface:
dependency: transitive
description:
name: flutter_local_notifications_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
flutter_screenutil:
dependency: "direct main"
description:
...
...
@@ -130,6 +151,27 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.9.2"
platform:
dependency: transitive
description:
name: platform
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.1"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3"
rxdart:
dependency: "direct main"
description:
name: rxdart
url: "https://pub.dartlang.org"
source: hosted
version: "0.23.1"
sky_engine:
dependency: transitive
description: flutter
...
...
@@ -177,6 +219,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.19-nullsafety.2"
timezone:
dependency: "direct main"
description:
name: timezone
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.1"
typed_data:
dependency: transitive
description:
...
...
@@ -193,3 +242,4 @@ packages:
version: "2.1.0-nullsafety.3"
sdks:
dart: ">=2.10.0-110 <2.11.0"
flutter: ">=1.12.13+hotfix.5"
...
...
frontend/flutter_application_1/pubspec.yaml
View file @
fd6d8d4
...
...
@@ -27,7 +27,10 @@ dependencies:
flutter_screenutil
:
^0.7.0
page_transition
:
'
^1.1.5'
mailer
:
'
^3.0.4'
flutter_local_notifications
:
^1.4.4+5
rxdart
:
^0.23.1
flutter_datetime_picker
:
^1.3.4
timezone
:
^0.6.0
dev_dependencies
:
flutter_test
:
...
...
Please
register
or
login
to post a comment