From 07614976ecd19c10d4fb6b8ab716900c274f66a9 Mon Sep 17 00:00:00 2001 From: Cho Sangwook Date: Mon, 22 Aug 2022 16:39:30 +0900 Subject: [PATCH 1/9] =?UTF-8?q?=E2=9E=95=20FEAT:=20Change=20way=20to=20upd?= =?UTF-8?q?ate=20user=5Fdata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/page/list_page/listPage.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/page/list_page/listPage.dart b/lib/page/list_page/listPage.dart index 7deb786..ea7359d 100644 --- a/lib/page/list_page/listPage.dart +++ b/lib/page/list_page/listPage.dart @@ -41,19 +41,19 @@ class _listPageState extends State { iconSize: 25.0, isFavorite: false, valueChanged: (_isFavorite) { - var list = [document["name"]]; + var list = [ + {"id": document["name"], "tag": document["tags"]} + ]; if (_isFavorite == false) { FirebaseFirestore.instance .collection('user_data') .doc(user.currentUser!.uid) - .set({"favorites": FieldValue.arrayRemove(list)}, - SetOptions(merge: true)); + .set({"favorites": FieldValue.arrayRemove(list)}, SetOptions(merge: true)); } else { FirebaseFirestore.instance .collection('user_data') .doc(user.currentUser!.uid) - .set({"favorites": FieldValue.arrayUnion(list)}, - SetOptions(merge: true)); + .set({"favorites": FieldValue.arrayUnion(list)}, SetOptions(merge: true)); } }, )); From 4e5a5a4c66b0be6b2f933821595cf44927dcaa59 Mon Sep 17 00:00:00 2001 From: Cho Sangwook <82208159+Sangwook02@users.noreply.github.com> Date: Thu, 22 Sep 2022 01:08:55 +0900 Subject: [PATCH 2/9] Update listPage.dart --- lib/page/list_page/listPage.dart | 86 ++++++-------------------------- 1 file changed, 15 insertions(+), 71 deletions(-) diff --git a/lib/page/list_page/listPage.dart b/lib/page/list_page/listPage.dart index ea7359d..8b859cd 100644 --- a/lib/page/list_page/listPage.dart +++ b/lib/page/list_page/listPage.dart @@ -1,10 +1,12 @@ import 'package:cafegation/constants/colors.dart'; -import 'package:cafegation/page/detail_page/detailPage.dart'; -import 'package:firebase_auth/firebase_auth.dart'; +import 'package:cafegation/page/list_page/CafeList.dart'; import 'package:firebase_core/firebase_core.dart'; import 'package:flutter/material.dart'; import 'package:cloud_firestore/cloud_firestore.dart'; -import 'package:favorite_button/favorite_button.dart'; +import 'package:cafegation/models/cafe.dart'; +import 'package:provider/provider.dart'; +import 'package:cafegation/services/auth.dart'; +import 'package:cafegation/services/database.dart'; class listPage extends StatefulWidget { const listPage({Key? key}) : super(key: key); @@ -14,75 +16,17 @@ class listPage extends StatefulWidget { } class _listPageState extends State { - bool _favoriteButtonPressed = false; - int idx = 0; - FirebaseAuth user = FirebaseAuth.instance; - List makeListWidget(AsyncSnapshot snapshot) { - return snapshot.data.docs.map((document) { - return ListTile( - onTap: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => detailPage( - cafeName: document["name"], - )), - ); - }, - leading: ClipRRect( - borderRadius: BorderRadius.all(Radius.circular(10.0)), - child: Image( - image: NetworkImage(document["images"][0]), - ), - ), - title: Text(document["name"]), - subtitle: Text(document["location"]), - trailing: FavoriteButton( - iconSize: 25.0, - isFavorite: false, - valueChanged: (_isFavorite) { - var list = [ - {"id": document["name"], "tag": document["tags"]} - ]; - if (_isFavorite == false) { - FirebaseFirestore.instance - .collection('user_data') - .doc(user.currentUser!.uid) - .set({"favorites": FieldValue.arrayRemove(list)}, SetOptions(merge: true)); - } else { - FirebaseFirestore.instance - .collection('user_data') - .doc(user.currentUser!.uid) - .set({"favorites": FieldValue.arrayUnion(list)}, SetOptions(merge: true)); - } - }, - )); - }).toList(); - } - @override Widget build(BuildContext context) { - return Scaffold( - appBar: AppBar( - backgroundColor: Colors.blue[200], - shadowColor: kGreyColor, - title: Text('list Page'), - ), - body: Container( - child: StreamBuilder( - stream: FirebaseFirestore.instance.collection("cafes").snapshots(), - builder: (context, snapshot) { - switch (snapshot.connectionState) { - case ConnectionState.waiting: - return Center(child: CircularProgressIndicator()); - default: - return ListView( - children: makeListWidget(snapshot), - ); - } - }, - ), - ), - ); + return StreamProvider>.value( + value: DataBaseService().cafes, + initialData: [], + child: Scaffold( + appBar: AppBar( + backgroundColor: Colors.blue[200], + shadowColor: kGreyColor, + title: Text('list Page'), + ), + body: CafeList())); } } From 523df1af7c08ecbe65121f6505cee006910d386a Mon Sep 17 00:00:00 2001 From: Cho Sangwook Date: Thu, 22 Sep 2022 10:49:51 +0900 Subject: [PATCH 3/9] =?UTF-8?q?=E2=9C=A8=20FEAT:=20Add=20getUpdatedList=20?= =?UTF-8?q?function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/models/myuser.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/models/myuser.dart b/lib/models/myuser.dart index ecec90a..b931086 100644 --- a/lib/models/myuser.dart +++ b/lib/models/myuser.dart @@ -9,4 +9,9 @@ class MyUser { Future> fUser = DataBaseService().userFavorite(uid); fUser.then((value) => {favorite = value}); } + List? getUpdatedList() { + Future> fUser = DataBaseService().userFavorite(uid); + fUser.then((value) => {favorite = value}); + return favorite; + } } From cc0ddc687e37f801c1180f9efcf1afc5603da3a5 Mon Sep 17 00:00:00 2001 From: Cho Sangwook Date: Thu, 22 Sep 2022 10:50:13 +0900 Subject: [PATCH 4/9] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Change=20to=20statefu?= =?UTF-8?q?lwidget?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../favorites_page/favorite_cafe_item.dart | 110 +++++++++--------- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/lib/page/favorites_page/favorite_cafe_item.dart b/lib/page/favorites_page/favorite_cafe_item.dart index 6746114..79bfc41 100644 --- a/lib/page/favorites_page/favorite_cafe_item.dart +++ b/lib/page/favorites_page/favorite_cafe_item.dart @@ -1,69 +1,69 @@ +import 'package:cafegation/page/detail_page/detailPage.dart'; +import 'package:cloud_firestore/cloud_firestore.dart'; +import 'package:firebase_auth/firebase_auth.dart'; import 'package:flutter/material.dart'; import 'package:cafegation/models/cafe.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:transparent_image/transparent_image.dart'; -class FavoriteCafeItem extends StatelessWidget { +class FavoriteCafeItem extends StatefulWidget { final Cafe cafe; - final int index; final bool hideFavorite; + final int index; + const FavoriteCafeItem({Key? key, required this.hideFavorite, required this.cafe, required this.index}) : super(key: key); - const FavoriteCafeItem({required this.cafe, required this.index, required this.hideFavorite, Key? key}) : super(key: key); + @override + State createState() => _FavoriteCafeItemState(); +} - //TODO : There is actually no 'favorite' function here, which is a problem. +class _FavoriteCafeItemState extends State { @override + bool state = true; Widget build(BuildContext context) { - return Container( - alignment: Alignment.center, - color: Colors.grey[200 + index % 4 * 100], - height: 100, - child: Row( - children: [ - hideFavorite - ? Container() - : SizedBox( - width: 60, - child: ImageIcon( - const AssetImage('assets/heart.png'), - color: Colors.red[500], - ), - ), - Padding(padding: const EdgeInsets.all(8.0), child: FadeInImage.memoryNetwork(placeholder: kTransparentImage, image: cafe.images)), - Padding( - padding: const EdgeInsets.all(8.0), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - cafe.name, - style: const TextStyle( - fontSize: 20, - ), - ), - Text( - cafe.location, - style: TextStyle(fontSize: 15, color: Colors.grey[500]), - ), - Row( - children: [ - Text(cafe.rating), - RatingBarIndicator( - rating: double.parse(cafe.rating), - direction: Axis.horizontal, - itemCount: 5, - itemSize: 20.0, - itemPadding: const EdgeInsets.symmetric(horizontal: 1.0), - itemBuilder: (context, _) => const Icon( - Icons.star, - color: Colors.amber, - ), - ) - ], - ) - ], - ), - ) - ], + return ListTile( + onTap: () { + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => detailPage( + cafeName: widget.cafe.id, + likedStatus: true, + )), + ); + }, + leading: ClipRRect( + borderRadius: BorderRadius.circular(10.0), + child: Image.network( + widget.cafe.images, + width: 80, + height: 100, + )), + title: Text(widget.cafe.name), + subtitle: Text(widget.cafe.location), + trailing: IconButton( + icon: Icon(state ? Icons.favorite : Icons.favorite_border), + color: Colors.red, + iconSize: 25.0, + onPressed: () { + setState(() { + var list = [ + {"id": widget.cafe.id, "tag": widget.cafe.tags} + ]; + if (state == true) { + state = false; + FirebaseFirestore.instance + .collection('user_data') + .doc(FirebaseAuth.instance.currentUser!.uid) + .set({"favorites": FieldValue.arrayRemove(list)}, SetOptions(merge: true)); + } else { + state = true; + FirebaseFirestore.instance + .collection('user_data') + .doc(FirebaseAuth.instance.currentUser!.uid) + .set({"favorites": FieldValue.arrayUnion(list)}, SetOptions(merge: true)); + } + }); + }, ), ); } From 53fe1b6264d1f6fc648bdd7ee1efe42cd96b1cb0 Mon Sep 17 00:00:00 2001 From: Cho Sangwook Date: Thu, 22 Sep 2022 10:50:45 +0900 Subject: [PATCH 5/9] =?UTF-8?q?=F0=9F=94=A5=20REMOVE:=20Delete=20unnecessa?= =?UTF-8?q?ry=20codes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/page/list_page/CafeItem.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/page/list_page/CafeItem.dart b/lib/page/list_page/CafeItem.dart index 6d64c2a..e4e8704 100644 --- a/lib/page/list_page/CafeItem.dart +++ b/lib/page/list_page/CafeItem.dart @@ -65,14 +65,12 @@ class _CafeItemState extends State { .collection('user_data') .doc(FirebaseAuth.instance.currentUser!.uid) .set({"favorites": FieldValue.arrayRemove(list)}, SetOptions(merge: true)); - Icon(Icons.favorite_border); } else { state = true; FirebaseFirestore.instance .collection('user_data') .doc(FirebaseAuth.instance.currentUser!.uid) .set({"favorites": FieldValue.arrayUnion(list)}, SetOptions(merge: true)); - Icon(Icons.favorite); } stateBool(AuthService().user!, state); }); From e065457a895404271733ab47be8d48b92abdc149 Mon Sep 17 00:00:00 2001 From: Cho Sangwook Date: Thu, 22 Sep 2022 10:51:23 +0900 Subject: [PATCH 6/9] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Make=20user.favorite?= =?UTF-8?q?=20realtime=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/services/database.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/database.dart b/lib/services/database.dart index dd736b5..e05b57c 100644 --- a/lib/services/database.dart +++ b/lib/services/database.dart @@ -66,7 +66,7 @@ class DataBaseService { Future> favoriteCafes(MyUser user) async { if (user.favorite == null) return []; List favoriteCafes = []; - for (String cafe_id in user.favorite!) { + for (String cafe_id in user.getUpdatedList()!) { var document = await cafeCollection.doc(cafe_id).get(); favoriteCafes.add(cafeBuilder(document)); } @@ -82,7 +82,7 @@ class DataBaseService { FirebaseAuth user = FirebaseAuth.instance; var b; List lst = []; - final a = FirebaseFirestore.instance.collection('user_data').doc(user.currentUser!.uid); + DocumentReference a = FirebaseFirestore.instance.collection('user_data').doc(user.currentUser!.uid); return a.get().then((value) { b = value.data(); b = b['favorites']; From 706248529ab45a37d2c29a9de77be55f59830370 Mon Sep 17 00:00:00 2001 From: Cho Sangwook Date: Fri, 23 Sep 2022 01:12:34 +0900 Subject: [PATCH 7/9] =?UTF-8?q?=F0=9F=92=84=20STYLE:=20Change=20appbar=20c?= =?UTF-8?q?olor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/page/favorites_page/favoritesPage.dart | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/lib/page/favorites_page/favoritesPage.dart b/lib/page/favorites_page/favoritesPage.dart index 4e10d67..97ce046 100644 --- a/lib/page/favorites_page/favoritesPage.dart +++ b/lib/page/favorites_page/favoritesPage.dart @@ -8,9 +8,8 @@ import 'package:cafegation/services/database.dart'; import 'package:cafegation/models/cafe.dart'; import 'package:cafegation/page/favorites_page/favorite_cafe_list.dart'; - class favoritesPage extends StatefulWidget { - const favoritesPage({ Key? key }) : super(key: key); + const favoritesPage({Key? key}) : super(key: key); @override _FavoritesPageState createState() => _FavoritesPageState(); @@ -25,14 +24,12 @@ class _FavoritesPageState extends State { initialData: const [], value: DataBaseService().favoriteCafes(AuthService().user!), child: Scaffold( - appBar: AppBar( - backgroundColor: kMainColor, - shadowColor: kGreyColor, - title: const Text('Favorites Page'), + appBar: AppBar( + backgroundColor: Colors.blue[200], + shadowColor: kGreyColor, + title: const Text('Favorites Page'), ), - body: FavoriteCafeList() - ), + body: FavoriteCafeList()), ); } } - From c514a4afd701376972ee34f90a4cda718dac1efb Mon Sep 17 00:00:00 2001 From: Cho Sangwook Date: Fri, 23 Sep 2022 01:13:33 +0900 Subject: [PATCH 8/9] =?UTF-8?q?=E2=9C=A8=20FEAT:=20Show=20listpage=20of=20?= =?UTF-8?q?specific=20tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/page/list_page/listPage.dart | 7 +-- lib/page/tag_page/tagPage.dart | 76 ++++++++------------------------ lib/services/database.dart | 40 ++++++++++++++--- 3 files changed, 55 insertions(+), 68 deletions(-) diff --git a/lib/page/list_page/listPage.dart b/lib/page/list_page/listPage.dart index 8b859cd..27a23a3 100644 --- a/lib/page/list_page/listPage.dart +++ b/lib/page/list_page/listPage.dart @@ -9,7 +9,8 @@ import 'package:cafegation/services/auth.dart'; import 'package:cafegation/services/database.dart'; class listPage extends StatefulWidget { - const listPage({Key? key}) : super(key: key); + final tagCode; + const listPage({Key? key, required this.tagCode}) : super(key: key); @override _listPageState createState() => _listPageState(); @@ -18,8 +19,8 @@ class listPage extends StatefulWidget { class _listPageState extends State { @override Widget build(BuildContext context) { - return StreamProvider>.value( - value: DataBaseService().cafes, + return FutureProvider>.value( + value: DataBaseService().cafeListFromSnapShot(widget.tagCode), initialData: [], child: Scaffold( appBar: AppBar( diff --git a/lib/page/tag_page/tagPage.dart b/lib/page/tag_page/tagPage.dart index bad756f..43ee991 100644 --- a/lib/page/tag_page/tagPage.dart +++ b/lib/page/tag_page/tagPage.dart @@ -39,18 +39,11 @@ class _tagPageState extends State { primary: Color(0xFF2C2E43), onPrimary: Colors.black), onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => listPage())); + Navigator.push(context, MaterialPageRoute(builder: (context) => listPage(tagCode: 1))); }, child: Text( - '#분위기 있는', - style: TextStyle( - color: Colors.white, - fontSize: 20.0, - letterSpacing: 1.0, - fontWeight: FontWeight.normal), + '#디저트', + style: TextStyle(color: Colors.white, fontSize: 20.0, letterSpacing: 1.0, fontWeight: FontWeight.normal), ), ), ), @@ -66,18 +59,11 @@ class _tagPageState extends State { primary: Color(0xFFB2B1B9), onPrimary: Colors.black), onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => listPage())); + Navigator.push(context, MaterialPageRoute(builder: (context) => listPage(tagCode: 2))); }, child: Text( - '#조용한', - style: TextStyle( - color: Colors.white, - fontSize: 20.0, - letterSpacing: 1.0, - fontWeight: FontWeight.normal), + '#브런치', + style: TextStyle(color: Colors.white, fontSize: 20.0, letterSpacing: 1.0, fontWeight: FontWeight.normal), ), ), ), @@ -94,17 +80,11 @@ class _tagPageState extends State { onPrimary: Colors.white, ), onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => listPage())); + Navigator.push(context, MaterialPageRoute(builder: (context) => listPage(tagCode: 3))); }, child: Text( - '#디저트 맛집인', - style: TextStyle( - fontSize: 18.0, - letterSpacing: 1.0, - fontWeight: FontWeight.normal), + '#힐링되는', + style: TextStyle(fontSize: 18.0, letterSpacing: 1.0, fontWeight: FontWeight.normal), ), ), ), @@ -132,18 +112,11 @@ class _tagPageState extends State { primary: Color(0xFF2C2E43), onPrimary: Colors.black), onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => listPage())); + Navigator.push(context, MaterialPageRoute(builder: (context) => listPage(tagCode: 4))); }, child: Text( - '#이야기하기 좋은', - style: TextStyle( - color: Colors.white, - fontSize: 16.5, - letterSpacing: 1.0, - fontWeight: FontWeight.normal), + '#인스타 갬성,,', + style: TextStyle(color: Colors.white, fontSize: 16.5, letterSpacing: 1.0, fontWeight: FontWeight.normal), ), ), ), @@ -159,18 +132,11 @@ class _tagPageState extends State { primary: Color(0xFFB2B1B9), onPrimary: Colors.black), onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => listPage())); + Navigator.push(context, MaterialPageRoute(builder: (context) => listPage(tagCode: 5))); }, child: Text( - '#콘센트 많은', - style: TextStyle( - color: Colors.white, - fontSize: 20.0, - letterSpacing: 1.0, - fontWeight: FontWeight.normal), + '#새로 생긴', + style: TextStyle(color: Colors.white, fontSize: 20.0, letterSpacing: 1.0, fontWeight: FontWeight.normal), ), ), ), @@ -187,17 +153,11 @@ class _tagPageState extends State { onPrimary: Colors.white, ), onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => listPage())); + Navigator.push(context, MaterialPageRoute(builder: (context) => listPage(tagCode: 6))); }, child: Text( - '#커피 맛집인', - style: TextStyle( - fontSize: 18.0, - letterSpacing: 1.0, - fontWeight: FontWeight.normal), + '#뷰가 좋은', + style: TextStyle(fontSize: 18.0, letterSpacing: 1.0, fontWeight: FontWeight.normal), ), ), ), diff --git a/lib/services/database.dart b/lib/services/database.dart index e05b57c..83f51c2 100644 --- a/lib/services/database.dart +++ b/lib/services/database.dart @@ -57,10 +57,36 @@ class DataBaseService { ); } - List _cafeListFromSnapShot(QuerySnapshot querySnapshot) { - return querySnapshot.docs.map((doc) { - return cafeBuilder(doc); - }).toList(); + Future> cafeListFromSnapShot(int i) async { + List lst = []; + String docName = 'bakery_cafe'; + if (i == 1) { + docName = 'bakery_cafe'; + } else if (i == 2) { + docName = 'brunch_cafe'; + } else if (i == 3) { + docName = 'healing_cafe'; + } else if (i == 4) { + docName = 'instagram_cafe'; + } else if (i == 5) { + docName = 'new_cafe'; + } else if (i == 6) { + docName = 'view_cafe'; + } + + DocumentSnapshot> a = await FirebaseFirestore.instance.collection('tags').doc(docName).get(); + var document = await cafeCollection.get(); + for (var cafe_name in a.data()!.values) { + for (QueryDocumentSnapshot doc in document.docs) { + if (doc['name'] == cafe_name) { + lst.add(cafeBuilder(doc)); + break; + } + } + } + //for (String cafe_id in ab) {} + return lst; + //중첩이문제인듯. } Future> favoriteCafes(MyUser user) async { @@ -74,9 +100,9 @@ class DataBaseService { } // 카페 스트림을 가져옴 - Stream> get cafes { - return cafeCollection.snapshots().map(_cafeListFromSnapShot); - } + // Stream> get cafes { + // return cafeCollection.snapshots().map(_cafeListFromSnapShot); + // } Future> userFavorite(String uid) async { FirebaseAuth user = FirebaseAuth.instance; From 22f1e5fca3a4b55cb1d560333a35d51448bdc994 Mon Sep 17 00:00:00 2001 From: Jeon-jisu Date: Fri, 23 Sep 2022 21:25:04 +0900 Subject: [PATCH 9/9] =?UTF-8?q?=F0=9F=90=9BFix:=20gitignore=20file=20modif?= =?UTF-8?q?y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/.gitignore | 1 - android/local.properties | 6 ++++++ lib/page/map_page/mapPage.dart | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 android/local.properties diff --git a/android/.gitignore b/android/.gitignore index 6f56801..0e6268e 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -3,7 +3,6 @@ gradle-wrapper.jar /captures/ /gradlew /gradlew.bat -/local.properties GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. diff --git a/android/local.properties b/android/local.properties new file mode 100644 index 0000000..0dd7592 --- /dev/null +++ b/android/local.properties @@ -0,0 +1,6 @@ +sdk.dir=/Users/jisu/Library/Android/sdk +flutter.sdk=/Users/jisu/flutter +flutter.buildMode=debug +flutter.versionName=1.0.0 +flutter.versionCode=1 +google.maps.apiKey=AIzaSyDpOHTRh0dkxHuR1HH3X979oizAwQXp-Ts \ No newline at end of file diff --git a/lib/page/map_page/mapPage.dart b/lib/page/map_page/mapPage.dart index 56abc93..19d0031 100644 --- a/lib/page/map_page/mapPage.dart +++ b/lib/page/map_page/mapPage.dart @@ -16,9 +16,10 @@ class KakaoMapTest extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( + debugShowCheckedModeBanner: false, title: 'Flutter Demo', theme: ThemeData( - primarySwatch: Colors.blue, + primarySwatch: Colors.lightBlue, ), home: MapSample(), );