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-30 01:44:09 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bab36bc75906bc21e691a76782a7e57f2c2471e2
bab36bc7
1 parent
831f24da
[frontend] 새로 고침 + ui 변경
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
62 additions
and
10 deletions
frontend/README.md
frontend/flutter_application_1/lib/src/screens/DashBoard.dart
frontend/flutter_application_1/lib/src/screens/Register/BottleList.dart
frontend/flutter_application_1/lib/src/screens/Register/HubList.dart
frontend/flutter_application_1/lib/src/screens/models/UserBottle.dart
frontend/flutter_application_1/pubspec.lock
frontend/flutter_application_1/pubspec.yaml
frontend/README.md
View file @
bab36bc
...
...
@@ -89,4 +89,8 @@ appbar 관련 디자인은 추후 구현 예정
+
future buillder 변경
### 2021-05-27
+
app 뒤로가기 설정 변경
\ No newline at end of file
+
app 뒤로가기 설정 변경
### 2021-05-29
+
약병 리스트 ui 변경
+
DashBoard 새로고침
\ No newline at end of file
...
...
frontend/flutter_application_1/lib/src/screens/DashBoard.dart
View file @
bab36bc
...
...
@@ -118,6 +118,13 @@ class _DashBoardState extends State<DashBoard> {
),
),
body:
_tabs
[
_selectedIndex
],
floatingActionButton:
FloatingActionButton
(
onPressed:
()
{
setState
(()
{});
},
child:
const
Icon
(
Icons
.
refresh_outlined
),
backgroundColor:
Colors
.
blue
,
),
bottomNavigationBar:
BottomNavigationBar
(
type:
BottomNavigationBarType
.
fixed
,
backgroundColor:
Colors
.
grey
,
...
...
@@ -132,11 +139,12 @@ class _DashBoardState extends State<DashBoard> {
})
},
items:
[
BottomNavigationBarItem
(
icon:
Icon
(
Icons
.
favorite
),
label:
'In'
),
BottomNavigationBarItem
(
icon:
Icon
(
Icons
.
device_thermostat
),
label:
'In'
),
BottomNavigationBarItem
(
icon:
Icon
(
Icons
.
home
),
label:
'Home'
),
BottomNavigationBarItem
(
label:
'Out'
,
icon:
Icon
(
Icons
.
favorit
e
),
icon:
Icon
(
Icons
.
access_tim
e
),
)
],
),
...
...
@@ -146,8 +154,7 @@ class _DashBoardState extends State<DashBoard> {
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
BuildContext
context
)
=>
BottleList
(
bottlelist:
_bottleList
),
builder:
(
BuildContext
context
)
=>
BottleList
(),
));
},
);
...
...
frontend/flutter_application_1/lib/src/screens/Register/BottleList.dart
View file @
bab36bc
This diff is collapsed. Click to expand it.
frontend/flutter_application_1/lib/src/screens/Register/HubList.dart
View file @
bab36bc
...
...
@@ -102,9 +102,7 @@ class _HubListState extends State<HubList> {
context
,
MaterialPageRoute
(
builder:
(
BuildContext
context
)
=>
BottleList
(
bottlelist:
_bottleList
,
),
BottleList
(),
));
}
else
if
(
result
==
"Not Found"
)
{
showDialog
(
...
...
frontend/flutter_application_1/lib/src/screens/models/UserBottle.dart
0 → 100644
View file @
bab36bc
class
UserBottle
{
String
bottleId
;
String
bottleName
;
UserBottle
({
this
.
bottleId
,
this
.
bottleName
});
}
frontend/flutter_application_1/pubspec.lock
View file @
bab36bc
...
...
@@ -233,6 +233,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0-nullsafety.1"
path_provider:
dependency: "direct main"
description:
name: path_provider
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.28"
path_provider_linux:
dependency: transitive
description:
...
...
@@ -240,6 +247,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1+2"
path_provider_macos:
dependency: transitive
description:
name: path_provider_macos
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.4+8"
path_provider_platform_interface:
dependency: transitive
description:
...
...
@@ -350,6 +364,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0-nullsafety.2"
sqflite:
dependency: "direct main"
description:
name: sqflite
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.2+4"
sqflite_common:
dependency: transitive
description:
name: sqflite_common
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3+3"
stack_trace:
dependency: transitive
description:
...
...
@@ -371,6 +399,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety.1"
synchronized:
dependency: transitive
description:
name: synchronized
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0+2"
term_glyph:
dependency: transitive
description:
...
...
@@ -421,5 +456,5 @@ packages:
source: hosted
version: "0.1.2"
sdks:
dart: ">=2.10.
0-110
<2.11.0"
flutter: ">=1.2
0.0
<2.0.0"
dart: ">=2.10.
2
<2.11.0"
flutter: ">=1.2
2.2
<2.0.0"
...
...
frontend/flutter_application_1/pubspec.yaml
View file @
bab36bc
...
...
@@ -39,6 +39,8 @@ dependencies:
flutter_dotenv
:
^2.1.0
numberpicker
:
^1.3.0
flutter_secure_storage
:
^3.3.5
sqflite
:
^1.1.6
path_provider
:
^1.2.0
dev_dependencies
:
flutter_test
:
...
...
Please
register
or
login
to post a comment