From af673b1abddcb11ec925e47dd9b9a8b0fde1bdda Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Wed, 21 Aug 2024 23:46:19 +0200 Subject: [PATCH] test mapbox complete search --- covas_mobile/images/search.png | Bin 0 -> 18266 bytes covas_mobile/lib/pages/UpdateEventImage.dart | 22 ++++++++ covas_mobile/pubspec.lock | 56 +++++++++++++++++++ covas_mobile/pubspec.yaml | 3 + 4 files changed, 81 insertions(+) create mode 100644 covas_mobile/images/search.png diff --git a/covas_mobile/images/search.png b/covas_mobile/images/search.png new file mode 100644 index 0000000000000000000000000000000000000000..9454673d0b6e090e4b9d0cdd598a591c1e9334a0 GIT binary patch literal 18266 zcmZ{Mc_7pO|M*HML@80ucZPDbqH@!XgnAb$wJAwSM#5Z8yrmI}vP$T9mr6{@Q8qJ2 zT8?#Tgw0K^9nLY^@A(?NKdJBU^^e-?@w^__^Krg#`yFkTO0AKC!C*`6YFE zxL6iJsa}`6Shpjt(<<`O+E-7n(v~X(e_efGf3^SiW6J_pHtmY|&~Zg9YVp;DQm?kM zT5^@Uho0yf>gwqk4JTkPF?o!X5B#yN1Z986cNcPdIUQB;iU=eTQ#Tq|wxCl?ev76A zd-fURo}Nmg7s*-7J|)CEE~=%w-2Y*o9lIPWdgx(<6zs8?=m*Ow`eYe3(SwvDISM$o zYqzew+l{AGh@OE5bgFf(fO2Iy=U2E|{i!{H!6(*!+Pq_ibu?DEac%|{X+gvn_nbax zNb2&sBbQds?tsV$ZCd)zkTk4Q-6`Qr9k=H7+)hLLmnu0e?NWqI)!{hUvg-n@*NCT~ z*J3%*L(oA6iJdsJ5+)XcPE0r`w>~;Sw0p0|c*`vtkHB7MuUyl7Jj^|hBbsiIE8qES zfirA!D0g|~o&_II&Hesj0&F|u85ZTb_{f6m8yhjA=UYh6L9v9EC)=l`(Elb;r*di5K-0FZmyj#qAq1gdY*$af%!9X_YZ_GbSzsi>;G$gS0oWuQ zI}0~JI_bn(Ee@LlAm}pmU00r*+l&5$lF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%>M{(gR;P5In89(#FImkns89wu7;eih7ZMmfVl zRSb=9tl$paSR=lzW%!A8KJ2Pg@Dh-DfsXX%%clLUqZ780g*Ly$r)@z4JA@}`LanNp zGZ*_>vsrUqBRzYD_6cbiNxjdtY0NJKLQ=ZbI17#Vw5Qw ziv`&T+TB#&7}*b11*hbzaSv^jXjs9=z>{j1U!HdNtO zoU5%&o+xDql*!D*p`>di1sJN zo1;bdNUT?Ekz>ah918?f`k_cYd;{LZq2s0eg8u*rSuU@_Y(WpVH)NJ!+*E8>*G&#| zoZ+!(sbm(gkyg9&xpfO9Bq1`(5zOY|zpH+JI3eN}8y(t8tXJS~p0J2B*)JUaR3eZS z1RmOkc~{4O-&mM`Yy4a={g2qnJBVyh{!- zmjQH|WrvD<#;?~soBg~4B=kgP6wtcH7ITP6>Y}x^K@@Di!Tk`nX5k!xs z$j$&jw>Hf-yUp$-;Ag4y&u==saQa`=VGezuYGj^E1F@1?M#2B-v55B3)ctE*d+sw3 z8G-+oB?b(X|NjRq{`3k&N6DxCVdq0v9>#Ozmu&0yWRda$t@A%CbU;JD==l~_mB9dJ z^&9}wndrFUC%SsCRR0f`D$wNywZ8v{%m01bVs z?}RYN)s5+kZA(6GP!frv97wY22#eqB*_JImBr;vWtrFT7$W7AOgKa;p_+4D2@_?fH znD)ck%KgRij~iDhDwWN$cYZ}p?HzvSjhB12S=0nk=EyU{>EE5UXsObe6a@FTV zVSv;NeR9B9a?j-P$?91qXHRu1=)(G&V~yh#Mf?qlt%;X|8g|rOy?jK_IX9mcM__&W YHR=JUF!u!bW)945x8ttd9qv*855h*y*#H0l literal 0 HcmV?d00001 diff --git a/covas_mobile/lib/pages/UpdateEventImage.dart b/covas_mobile/lib/pages/UpdateEventImage.dart index 0523aaa..f7ff85a 100644 --- a/covas_mobile/lib/pages/UpdateEventImage.dart +++ b/covas_mobile/lib/pages/UpdateEventImage.dart @@ -3,6 +3,8 @@ import 'package:flutter/widgets.dart'; import 'package:shared_preferences/shared_preferences.dart'; import 'package:http/http.dart' as http; import 'package:intl/intl.dart'; +import 'package:mapbox_place_search/mapbox_place_search.dart'; +import 'package:flutter_dotenv/flutter_dotenv.dart'; import 'dart:convert'; import 'dart:io'; @@ -48,6 +50,8 @@ class _UpdateeventImageState extends State TextEditingController endDatepicker = TextEditingController(); TextEditingController endTimepicker = TextEditingController(); + String MAPBOX_API_KEY = ""; + onTapFunctionDatePicker( {required BuildContext context, required String position}) async { DateTime? pickedDate = await showDatePicker( @@ -161,6 +165,9 @@ class _UpdateeventImageState extends State } void start() async { + await dotenv.load(); + MAPBOX_API_KEY = dotenv.env['MAPBOX_API_KEY']!; + inputName.text = widget.events["name"]; inputPlace.text = widget.events["place"]; print("date start : ${widget.events["date"]}"); @@ -224,6 +231,21 @@ class _UpdateeventImageState extends State hintText: 'Entrer le lieu'), ), ), + Padding( + padding: const EdgeInsets.only( + left: 15.0, right: 15.0, top: 15, bottom: 0), + //padding: EdgeInsets.symmetric(horizontal: 15), + child: MapBoxPlaceSearchWidget( + popOnSelect: true, + apiKey: MAPBOX_API_KEY, + searchHint: widget.events["place"], + onSelected: (place) { + print("place : ${place.center}"); + }, + context: context, + //iconAssetPath: './images/search.png', + ), + ), Padding( padding: const EdgeInsets.only( left: 15.0, right: 15.0, top: 15, bottom: 0), diff --git a/covas_mobile/pubspec.lock b/covas_mobile/pubspec.lock index 0527810..d95e826 100644 --- a/covas_mobile/pubspec.lock +++ b/covas_mobile/pubspec.lock @@ -81,6 +81,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.18.0" + color: + dependency: transitive + description: + name: color + sha256: ddcdf1b3badd7008233f5acffaf20ca9f5dc2cd0172b75f68f24526a5f5725cb + url: "https://pub.dev" + source: hosted + version: "3.0.0" cross_file: dependency: transitive description: @@ -89,6 +97,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.3.4+2" + crypto: + dependency: transitive + description: + name: crypto + sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 + url: "https://pub.dev" + source: hosted + version: "3.0.5" cupertino_icons: dependency: "direct main" description: @@ -177,6 +193,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.9.3+2" + fixnum: + dependency: transitive + description: + name: fixnum + sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" + url: "https://pub.dev" + source: hosted + version: "1.1.0" flutter: dependency: "direct main" description: flutter @@ -360,6 +384,22 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.0" + mapbox_place_search: + dependency: "direct main" + description: + name: mapbox_place_search + sha256: "36e213d66e38c3494321177a80b65f6b420068e54eaf9978cb312da97e4af250" + url: "https://pub.dev" + source: hosted + version: "1.0.2" + mapbox_search: + dependency: "direct main" + description: + name: mapbox_search + sha256: "6606ab1af8f34a22b5b096d6037d95117e4b51d48c63161d817130c91c736e7e" + url: "https://pub.dev" + source: hosted + version: "4.2.2" matcher: dependency: transitive description: @@ -533,6 +573,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.10.0" + sprintf: + dependency: transitive + description: + name: sprintf + sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" + url: "https://pub.dev" + source: hosted + version: "7.0.0" stack_trace: dependency: transitive description: @@ -589,6 +637,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.2" + uuid: + dependency: transitive + description: + name: uuid + sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" + url: "https://pub.dev" + source: hosted + version: "4.4.2" vector_math: dependency: transitive description: diff --git a/covas_mobile/pubspec.yaml b/covas_mobile/pubspec.yaml index 1bc13d8..0119c6f 100644 --- a/covas_mobile/pubspec.yaml +++ b/covas_mobile/pubspec.yaml @@ -45,6 +45,8 @@ dependencies: flutter_dotenv: ^5.1.0 image_picker: ^1.1.2 date_format_field: ^0.1.0 + mapbox_search: ^4.2.2 + mapbox_place_search: ^1.0.2 dev_dependencies: flutter_test: @@ -72,6 +74,7 @@ flutter: assets: - images/flutter.png - .env + - images/search.png # - images/a_dot_ham.jpeg # An image asset can refer to one or more resolution-specific "variants", see