remove useless package

This commit is contained in:
Valentin CZERYBA 2024-08-30 23:27:34 +02:00
parent 0c2ab76cc9
commit 26a9d4a034
3 changed files with 1 additions and 112 deletions

View File

@ -4,8 +4,6 @@ import 'package:shared_preferences/shared_preferences.dart';
import 'package:http/http.dart' as http; import 'package:http/http.dart' as http;
import 'package:intl/intl.dart'; import 'package:intl/intl.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:google_places_autocomplete_text_field/google_places_autocomplete_text_field.dart';
import 'package:google_places_autocomplete_text_field/model/prediction.dart';
import 'dart:convert'; import 'dart:convert';
import 'dart:io'; import 'dart:io';
@ -220,7 +218,7 @@ class _UpdateeventImageState extends State<UpdateeventImage>
hintText: 'Modifier le nom de l\'évènement'), hintText: 'Modifier le nom de l\'évènement'),
), ),
), ),
/* Padding( Padding(
padding: const EdgeInsets.only( padding: const EdgeInsets.only(
left: 15.0, right: 15.0, top: 15, bottom: 0), left: 15.0, right: 15.0, top: 15, bottom: 0),
//padding: EdgeInsets.symmetric(horizontal: 15), //padding: EdgeInsets.symmetric(horizontal: 15),
@ -231,40 +229,6 @@ class _UpdateeventImageState extends State<UpdateeventImage>
labelText: 'Lieu', labelText: 'Lieu',
hintText: 'Entrer le lieu'), 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: GooglePlacesAutoCompleteTextFormField(
textEditingController: inputPlace,
googleAPIKey: GOOGLEMAP_API_KEY,
decoration: const InputDecoration(
hintText: 'Enter your address',
labelText: 'Lieu',
labelStyle: TextStyle(color: Colors.purple),
border: OutlineInputBorder(),
),
validator: (value) {
if (value!.isEmpty) {
return 'Please enter some text';
}
return null;
},
// proxyURL: _yourProxyURL,
maxLines: 1,
overlayContainer: (child) => Material(
elevation: 1.0,
color: Colors.green,
borderRadius: BorderRadius.circular(12),
child: child,
),
getPlaceDetailWithLatLng: (prediction) {
print('placeDetails${prediction.lng}');
},
itmClick: (Prediction prediction) =>
inputPlace.text = prediction.description!,
),
), ),
Padding( Padding(
padding: const EdgeInsets.only( padding: const EdgeInsets.only(

View File

@ -81,14 +81,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.18.0" version: "1.18.0"
color:
dependency: transitive
description:
name: color
sha256: ddcdf1b3badd7008233f5acffaf20ca9f5dc2cd0172b75f68f24526a5f5725cb
url: "https://pub.dev"
source: hosted
version: "3.0.0"
cross_file: cross_file:
dependency: transitive dependency: transitive
description: description:
@ -97,14 +89,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.3.4+2" 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: cupertino_icons:
dependency: "direct main" dependency: "direct main"
description: description:
@ -193,14 +177,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.9.3+2" version: "0.9.3+2"
fixnum:
dependency: transitive
description:
name: fixnum
sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1"
url: "https://pub.dev"
source: hosted
version: "1.1.0"
flutter: flutter:
dependency: "direct main" dependency: "direct main"
description: flutter description: flutter
@ -256,14 +232,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.4.4" version: "2.4.4"
google_places_autocomplete_text_field:
dependency: "direct main"
description:
name: google_places_autocomplete_text_field
sha256: "86615529ffdef8901d6c4f9b23f2526884dcb69d28e411beceb8093f5a23911c"
url: "https://pub.dev"
source: hosted
version: "0.1.3"
http: http:
dependency: "direct main" dependency: "direct main"
description: description:
@ -392,22 +360,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "4.0.0" 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: matcher:
dependency: transitive dependency: transitive
description: description:
@ -512,14 +464,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.8" version: "2.1.8"
rxdart:
dependency: transitive
description:
name: rxdart
sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb"
url: "https://pub.dev"
source: hosted
version: "0.27.7"
shared_preferences: shared_preferences:
dependency: "direct main" dependency: "direct main"
description: description:
@ -589,14 +533,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.10.0" version: "1.10.0"
sprintf:
dependency: transitive
description:
name: sprintf
sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23"
url: "https://pub.dev"
source: hosted
version: "7.0.0"
stack_trace: stack_trace:
dependency: transitive dependency: transitive
description: description:
@ -653,14 +589,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.3.2" version: "1.3.2"
uuid:
dependency: transitive
description:
name: uuid
sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90"
url: "https://pub.dev"
source: hosted
version: "4.4.2"
vector_math: vector_math:
dependency: transitive dependency: transitive
description: description:

View File

@ -45,9 +45,6 @@ dependencies:
flutter_dotenv: ^5.1.0 flutter_dotenv: ^5.1.0
image_picker: ^1.1.2 image_picker: ^1.1.2
date_format_field: ^0.1.0 date_format_field: ^0.1.0
mapbox_search: ^4.2.2
mapbox_place_search: ^1.0.2
google_places_autocomplete_text_field: ^0.1.3
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: