고원빈

[frontend]

......@@ -48,4 +48,6 @@ appbar 관련 디자인은 추후 구현 예정
### 2021-05-15
+ 회원 정보 수정 Page 구현
+ API 연동 중에 추가로 개발 예정
\ No newline at end of file
+ API 연동 중에 추가로 개발 예정
+ build용 파일 구현
......
......@@ -8,10 +8,12 @@
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" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<application
android:name="io.flutter.app.FlutterApplication"
android:label="flutter_application_1"
android:label="Smart_Medicine_Box"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
......
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_application_1/src/screens/SettingPage.dart';
import 'package:Smart_Medicine_Box/src/screens/SettingPage.dart';
class DashBoard extends StatefulWidget {
int pageNumber = 1;
......
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_application_1/src/screens/DashBoard.dart';
import '../shared/colors.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_application_1/src/screens/SettingPage/Alarm.dart';
import 'package:flutter_application_1/src/screens/SettingPage/Bluetooth.dart';
import 'package:flutter_application_1/src/screens/SettingPage/DEVInformation.dart';
import 'package:flutter_application_1/src/screens/SettingPage/InformationModify.dart';
import 'package:Smart_Medicine_Box/src/screens/DashBoard.dart';
import 'package:Smart_Medicine_Box/src/screens/SettingPage/Alarm.dart';
import 'package:Smart_Medicine_Box/src/screens/SettingPage/Bluetooth.dart';
import 'package:Smart_Medicine_Box/src/screens/SettingPage/DEVInformation.dart';
import 'package:Smart_Medicine_Box/src/screens/SettingPage/InformationModify.dart';
class SettingPage extends StatefulWidget {
@override
......
......@@ -4,8 +4,8 @@ import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_datetime_picker/flutter_datetime_picker.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
import 'package:flutter_application_1/src/screens/SettingPage.dart';
import 'package:flutter_application_1/src/screens/SettingPage/customTimepicker.dart';
import 'package:Smart_Medicine_Box/src/screens/SettingPage.dart';
import 'package:Smart_Medicine_Box/src/screens/SettingPage/customTimepicker.dart';
final FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin =
FlutterLocalNotificationsPlugin();
......
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import '../../shared/colors.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:Smart_Medicine_Box/src/screens/SettingPage.dart';
import 'package:flutter_blue/flutter_blue.dart';
class Bluetooth extends StatefulWidget {
@override
_BluetoothState createState() => _BluetoothState();
}
FlutterBlue flutterBlue;
class _BluetoothState extends State<Bluetooth> {
Widget build(BuildContext context) {
return MaterialApp(
title: 'Welcome to Flutter',
home: Scaffold(
appBar: AppBar(
title: Text('Welcome to Flutter'),
iconTheme: IconThemeData(color: Colors.black),
backgroundColor: Colors.white,
title: Text(
'Smart Medicine Box',
style: TextStyle(
color: Colors.black,
fontSize: 20,
fontFamily: 'Noto',
fontWeight: FontWeight.bold),
),
actions: [
IconButton(
icon: Icon(
Icons.settings,
color: Colors.black,
),
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (BuildContext context) => SettingPage(),
));
},
)
],
),
drawer: Drawer(
child: ListView(
children: [
DrawerHeader(
child: Text('Drawer Header'),
decoration: BoxDecoration(
color: Colors.blue,
),
),
ListTile(
title: Text('Test 1'),
onTap: () {},
),
ListTile(
title: Text('Test 2'),
onTap: () {},
),
ListTile(
title: Text('Test 3'),
onTap: () {},
),
],
),
),
body: Center(
child: Text('약병 내부 페이지 작업 영역'),
......
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_application_1/src/screens/SettingPage.dart';
import 'package:Smart_Medicine_Box/src/screens/SettingPage.dart';
class InformationModify extends StatefulWidget {
@override
......
......@@ -43,6 +43,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.15.0-nullsafety.3"
convert:
dependency: transitive
description:
name: convert
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
fake_async:
dependency: transitive
description:
......@@ -64,11 +78,25 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "5.2.1"
fixnum:
dependency: transitive
description:
name: fixnum
url: "https://pub.dartlang.org"
source: hosted
version: "0.10.11"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_blue:
dependency: "direct main"
description:
name: flutter_blue
url: "https://pub.dartlang.org"
source: hosted
version: "0.7.3"
flutter_datetime_picker:
dependency: "direct main"
description:
......@@ -212,13 +240,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.13"
protobuf:
dependency: transitive
description:
name: protobuf
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.3"
rxdart:
dependency: "direct main"
description:
name: rxdart
url: "https://pub.dartlang.org"
source: hosted
version: "0.23.1"
version: "0.24.1"
shared_preferences:
dependency: "direct main"
description:
......@@ -345,4 +380,4 @@ packages:
version: "0.1.2"
sdks:
dart: ">=2.10.0-110 <2.11.0"
flutter: ">=1.12.13+hotfix.5 <2.0.0"
flutter: ">=1.12.13+hotfix.6 <2.0.0"
......
name: flutter_application_1
name: Smart_Medicine_Box
description: A new Flutter project.
# The following line prevents the package from being accidentally published to
......@@ -28,11 +28,13 @@ dependencies:
page_transition: '^1.1.5'
mailer: '^3.0.4'
flutter_local_notifications: ^1.4.4+5
rxdart: ^0.23.1
rxdart: ^0.24.0
flutter_datetime_picker: ^1.3.4
timezone: ^0.6.0
intl : ^0.16.1
shared_preferences: ^0.5.6+1
flutter_blue: ^0.7.2
cupertino_icons: ^0.1.3
dev_dependencies:
flutter_test:
......
......@@ -8,7 +8,7 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_application_1/main.dart';
import 'package:Smart_Medicine_Box/main.dart';
void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
......