From 112b765c3f42cc175815f7bbd5fbf45a236ea677 Mon Sep 17 00:00:00 2001 From: Komos Solutions Ltd <150949169+KomosSolutions@users.noreply.github.com> Date: Fri, 20 Dec 2024 23:54:39 +0000 Subject: [PATCH 1/2] Fixed ThemeData issue --- .dart_tool/package_config.json | 95 +++++++++++++--------- .dart_tool/package_config_subset | 134 +++++++++++++++++-------------- .dart_tool/version | 2 +- .idea/misc.xml | 1 - example/.metadata | 39 ++++++++- example/lib/main.dart | 31 +++---- example/pubspec.lock | 92 +++++++++++++-------- example/pubspec.yaml | 2 +- lib/dropdown_with_search.dart | 67 +++++++--------- pubspec.lock | 86 +++++++++++++------- pubspec.yaml | 4 +- 11 files changed, 329 insertions(+), 224 deletions(-) diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index c363d65..0dcf4b1 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -3,130 +3,148 @@ "packages": [ { "name": "async", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.10.0", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "boolean_selector", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "characters", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.2.1", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.3.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "clock", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "collection", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.0", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.0", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.4" }, { "name": "fake_async", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "flutter", - "rootUri": "file:///C:/flutter/packages/flutter", + "rootUri": "file:///C:/ProgFiles/Flutter.io/packages/flutter", "packageUri": "lib/", - "languageVersion": "2.17" + "languageVersion": "3.3" }, { "name": "flutter_test", - "rootUri": "file:///C:/flutter/packages/flutter_test", + "rootUri": "file:///C:/ProgFiles/Flutter.io/packages/flutter_test", "packageUri": "lib/", - "languageVersion": "2.17" + "languageVersion": "3.3" + }, + { + "name": "leak_tracker", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker-10.0.7", + "packageUri": "lib/", + "languageVersion": "3.2" }, { - "name": "js", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.6.5", + "name": "leak_tracker_flutter_testing", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.8", "packageUri": "lib/", - "languageVersion": "2.16" + "languageVersion": "3.2" + }, + { + "name": "leak_tracker_testing", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_testing-3.0.1", + "packageUri": "lib/", + "languageVersion": "3.2" }, { "name": "matcher", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.13", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16+1", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.0" }, { "name": "material_color_utilities", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.2.0", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1", "packageUri": "lib/", - "languageVersion": "2.13" + "languageVersion": "2.17" }, { "name": "meta", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.8.0", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.15.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "path", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.2", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.9.0", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.0" }, { "name": "sky_engine", - "rootUri": "file:///C:/flutter/bin/cache/pkg/sky_engine", + "rootUri": "file:///C:/ProgFiles/Flutter.io/bin/cache/pkg/sky_engine", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.2" }, { "name": "source_span", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.9.1", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0", "packageUri": "lib/", - "languageVersion": "2.14" + "languageVersion": "2.18" }, { "name": "stack_trace", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.0", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.12.0", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.4" }, { "name": "stream_channel", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.2", "packageUri": "lib/", - "languageVersion": "2.14" + "languageVersion": "2.19" }, { "name": "string_scanner", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.3.0", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.1" }, { "name": "term_glyph", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "test_api", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.4.16", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.3", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.4" }, { "name": "vector_math", - "rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4", "packageUri": "lib/", "languageVersion": "2.14" }, + { + "name": "vm_service", + "rootUri": "file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-14.3.0", + "packageUri": "lib/", + "languageVersion": "3.3" + }, { "name": "csc_picker", "rootUri": "../", @@ -134,7 +152,10 @@ "languageVersion": "2.12" } ], - "generated": "2023-02-02T04:34:46.408317Z", + "generated": "2024-12-20T23:49:52.211411Z", "generator": "pub", - "generatorVersion": "2.19.0" + "generatorVersion": "3.6.0", + "flutterRoot": "file:///C:/ProgFiles/Flutter.io", + "flutterVersion": "3.27.1", + "pubCache": "file:///C:/Users/Damian/AppData/Local/Pub/Cache" } diff --git a/.dart_tool/package_config_subset b/.dart_tool/package_config_subset index 68d17fd..0ff6bbe 100644 --- a/.dart_tool/package_config_subset +++ b/.dart_tool/package_config_subset @@ -1,89 +1,101 @@ +sky_engine +3.2 +file:///C:/ProgFiles/Flutter.io/bin/cache/pkg/sky_engine/ +file:///C:/ProgFiles/Flutter.io/bin/cache/pkg/sky_engine/lib/ +flutter +3.3 +file:///C:/ProgFiles/Flutter.io/packages/flutter/ +file:///C:/ProgFiles/Flutter.io/packages/flutter/lib/ +flutter_test +3.3 +file:///C:/ProgFiles/Flutter.io/packages/flutter_test/ +file:///C:/ProgFiles/Flutter.io/packages/flutter_test/lib/ async 2.18 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.10.0/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.10.0/lib/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0/lib/ boolean_selector 2.17 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/lib/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/lib/ characters 2.12 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.2.1/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.2.1/lib/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.3.0/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.3.0/lib/ clock 2.12 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1/lib/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1/lib/ collection -2.12 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.0/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.0/lib/ +3.4 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.0/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.0/lib/ fake_async 2.12 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1/lib/ -js -2.16 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.6.5/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.6.5/lib/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1/lib/ +leak_tracker +3.2 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker-10.0.7/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker-10.0.7/lib/ +leak_tracker_flutter_testing +3.2 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.8/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.8/lib/ +leak_tracker_testing +3.2 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_testing-3.0.1/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_testing-3.0.1/lib/ matcher -2.18 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.13/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.13/lib/ +3.0 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16+1/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16+1/lib/ material_color_utilities -2.13 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.2.0/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.2.0/lib/ +2.17 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1/lib/ meta 2.12 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.8.0/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.8.0/lib/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.15.0/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.15.0/lib/ path -2.12 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.2/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.2/lib/ +3.0 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.9.0/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.9.0/lib/ source_span -2.14 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.9.1/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.9.1/lib/ -stack_trace 2.18 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.0/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.0/lib/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0/lib/ +stack_trace +3.4 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.12.0/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.12.0/lib/ stream_channel -2.14 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1/lib/ +2.19 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.2/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.2/lib/ string_scanner -2.18 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0/lib/ +3.1 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.3.0/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.3.0/lib/ term_glyph 2.12 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/lib/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/lib/ test_api -2.18 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.4.16/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.4.16/lib/ +3.4 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.3/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.3/lib/ vector_math 2.14 -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/ -file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/lib/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/lib/ +vm_service +3.3 +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-14.3.0/ +file:///C:/Users/Damian/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-14.3.0/lib/ csc_picker 2.12 -file:///C:/Users/Oras/Documents/GitHub/csc_picker/ -file:///C:/Users/Oras/Documents/GitHub/csc_picker/lib/ -sky_engine -2.12 -file:///C:/flutter/bin/cache/pkg/sky_engine/ -file:///C:/flutter/bin/cache/pkg/sky_engine/lib/ -flutter -2.17 -file:///C:/flutter/packages/flutter/ -file:///C:/flutter/packages/flutter/lib/ -flutter_test -2.17 -file:///C:/flutter/packages/flutter_test/ -file:///C:/flutter/packages/flutter_test/lib/ +file:///C:/Users/Damian/Documents/AndroidStudioProjects/FlutterProjects/github/csc_picker/ +file:///C:/Users/Damian/Documents/AndroidStudioProjects/FlutterProjects/github/csc_picker/lib/ 2 diff --git a/.dart_tool/version b/.dart_tool/version index 240bba9..b8b1d81 100644 --- a/.dart_tool/version +++ b/.dart_tool/version @@ -1 +1 @@ -3.7.0 \ No newline at end of file +3.27.1 \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index c333ca1..d002923 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/example/.metadata b/example/.metadata index cd984dd..b02a7e4 100644 --- a/example/.metadata +++ b/example/.metadata @@ -4,7 +4,42 @@ # This file should be version controlled and should not be manually edited. version: - revision: 9b2d32b605630f28625709ebd9d78ab3016b2bf6 - channel: stable + revision: "17025dd88227cd9532c33fa78f5250d548d87e9a" + channel: "stable" project_type: app + +# Tracks metadata for the flutter migrate command +migration: + platforms: + - platform: root + create_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + base_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + - platform: android + create_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + base_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + - platform: ios + create_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + base_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + - platform: linux + create_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + base_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + - platform: macos + create_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + base_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + - platform: web + create_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + base_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + - platform: windows + create_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + base_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a + + # User provided section + + # List of Local paths (relative to this file) that should be + # ignored by the migrate tool. + # + # Files that are not part of the templates will be ignored by default. + unmanaged_files: + - 'lib/main.dart' + - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/example/lib/main.dart b/example/lib/main.dart index 5516859..9b35339 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -15,13 +15,15 @@ class MyApp extends StatelessWidget { primarySwatch: Colors.blue, visualDensity: VisualDensity.adaptivePlatformDensity, ), - home: MyHomePage(title: 'CSC Picker'), + home: MyHomePage( + title: 'CSC Picker', + ), ); } } class MyHomePage extends StatefulWidget { - MyHomePage({Key key, this.title}) : super(key: key); + MyHomePage({required this.title}) : super(); final String title; @@ -38,7 +40,6 @@ class _MyHomePageState extends State { @override Widget build(BuildContext context) { - GlobalKey _cscPickerKey = GlobalKey(); return Scaffold( appBar: AppBar( @@ -65,15 +66,13 @@ class _MyHomePageState extends State { dropdownDecoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(10)), color: Colors.white, - border: - Border.all(color: Colors.grey.shade300, width: 1)), + border: Border.all(color: Colors.grey.shade300, width: 1)), ///Disabled Dropdown box decoration to style your dropdown selector [OPTIONAL PARAMETER] (USE with disabled dropdownDecoration) disabledDropdownDecoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(10)), color: Colors.grey.shade300, - border: - Border.all(color: Colors.grey.shade300, width: 1)), + border: Border.all(color: Colors.grey.shade300, width: 1)), ///placeholders for dropdown search field countrySearchPlaceholder: "Country", @@ -89,7 +88,12 @@ class _MyHomePageState extends State { ///defaultCountry: CscCountry.India, ///Country Filter [OPTIONAL PARAMETER] - countryFilter: [CscCountry.India,CscCountry.United_States,CscCountry.Canada], + countryFilter: [ + CscCountry.United_Kingdom, + CscCountry.India, + CscCountry.United_States, + CscCountry.Canada + ], ///Disable country dropdown (Note: use it with default country) //disableCountry: true, @@ -101,10 +105,7 @@ class _MyHomePageState extends State { ), ///DropdownDialog Heading style [OPTIONAL PARAMETER] - dropdownHeadingStyle: TextStyle( - color: Colors.black, - fontSize: 17, - fontWeight: FontWeight.bold), + dropdownHeadingStyle: TextStyle(color: Colors.black, fontSize: 17, fontWeight: FontWeight.bold), ///DropdownDialog Item style [OPTIONAL PARAMETER] dropdownItemStyle: TextStyle( @@ -122,7 +123,7 @@ class _MyHomePageState extends State { onCountryChanged: (value) { setState(() { ///store value in country variable - countryValue = value; + countryValue = value ?? ""; }); }, @@ -130,7 +131,7 @@ class _MyHomePageState extends State { onStateChanged: (value) { setState(() { ///store value in state variable - stateValue = value; + stateValue = value ?? ""; }); }, @@ -138,7 +139,7 @@ class _MyHomePageState extends State { onCityChanged: (value) { setState(() { ///store value in city variable - cityValue = value; + cityValue = value ?? ""; }); }, diff --git a/example/pubspec.lock b/example/pubspec.lock index b5027a5..52b89c2 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: async - sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0 + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted - version: "2.10.0" + version: "2.11.0" boolean_selector: dependency: transitive description: @@ -21,10 +21,10 @@ packages: dependency: transitive description: name: characters - sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.3.0" clock: dependency: transitive description: @@ -37,25 +37,25 @@ packages: dependency: transitive description: name: collection - sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0 + sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted - version: "1.17.0" + version: "1.19.0" csc_picker: dependency: "direct main" description: path: ".." relative: true source: path - version: "0.2.7" + version: "0.2.8" cupertino_icons: dependency: "direct main" description: name: cupertino_icons - sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be + sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 url: "https://pub.dev" source: hosted - version: "1.0.5" + version: "1.0.8" fake_async: dependency: transitive description: @@ -74,83 +74,99 @@ packages: description: flutter source: sdk version: "0.0.0" - js: + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" + url: "https://pub.dev" + source: hosted + version: "10.0.7" + leak_tracker_flutter_testing: dependency: transitive description: - name: js - sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7" + name: leak_tracker_flutter_testing + sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted - version: "0.6.5" + version: "3.0.8" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" matcher: dependency: transitive description: name: matcher - sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.13" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted - version: "1.8.0" + version: "1.15.0" path: dependency: transitive description: name: path - sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.2" + version: "1.9.0" sky_engine: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_span: dependency: transitive description: name: source_span - sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" stack_trace: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.12.0" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" term_glyph: dependency: transitive description: @@ -163,10 +179,10 @@ packages: dependency: transitive description: name: test_api - sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 + sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted - version: "0.4.16" + version: "0.7.3" vector_math: dependency: transitive description: @@ -175,6 +191,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" + vm_service: + dependency: transitive + description: + name: vm_service + sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b + url: "https://pub.dev" + source: hosted + version: "14.3.0" sdks: - dart: ">=2.18.0 <3.0.0" - flutter: ">=1.17.0" + dart: ">=3.4.0 <=3.6.0" + flutter: ">=3.18.0-18.0.pre.54" diff --git a/example/pubspec.yaml b/example/pubspec.yaml index adabcc1..ef9c04d 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ">=2.7.0 <3.0.0" + sdk: ">=2.12.0 <=3.6.0" dependencies: flutter: diff --git a/lib/dropdown_with_search.dart b/lib/dropdown_with_search.dart index b9a3feb..79ffc39 100644 --- a/lib/dropdown_with_search.dart +++ b/lib/dropdown_with_search.dart @@ -78,16 +78,13 @@ class DropdownWithSearch extends StatelessWidget { : BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(5)), color: Colors.grey.shade300, - border: - Border.all(color: Colors.grey.shade300, width: 1)), + border: Border.all(color: Colors.grey.shade300, width: 1)), child: Row( children: [ Expanded( child: Text(selected.toString(), overflow: TextOverflow.ellipsis, - style: selectedItemStyle != null - ? selectedItemStyle - : TextStyle(fontSize: 14))), + style: selectedItemStyle != null ? selectedItemStyle : TextStyle(fontSize: 14))), Icon(Icons.keyboard_arrow_down_rounded) ], ), @@ -125,6 +122,7 @@ class SearchDialog extends StatefulWidget { class _SearchDialogState extends State { TextEditingController textController = TextEditingController(); late List filteredList; + late FocusNode searchFocusNode; @override void initState() { @@ -135,30 +133,32 @@ class _SearchDialogState extends State { filteredList = widget.items; } else { filteredList = widget.items - .where((element) => element - .toString() - .toLowerCase() - .contains(textController.text.toLowerCase())) + .where((element) => element.toString().toLowerCase().contains(textController.text.toLowerCase())) .toList(); } }); }); + + searchFocusNode = FocusNode(); + WidgetsBinding.instance.addPostFrameCallback((_) { + searchFocusNode.requestFocus(); + }); super.initState(); } @override void dispose() { textController.dispose(); - super.dispose(); + searchFocusNode.dispose(); + super.dispose(); } @override Widget build(BuildContext context) { return CustomDialog( shape: RoundedRectangleBorder( - borderRadius: widget.dialogRadius != null - ? BorderRadius.circular(widget.dialogRadius!) - : BorderRadius.circular(14)), + borderRadius: + widget.dialogRadius != null ? BorderRadius.circular(widget.dialogRadius!) : BorderRadius.circular(14)), child: ClipRRect( borderRadius: BorderRadius.circular(12.0), child: Column( @@ -208,34 +208,29 @@ class _SearchDialogState extends State { prefixIcon: Icon(Icons.search), hintText: widget.placeHolder, focusedBorder: OutlineInputBorder( - borderRadius: BorderRadius.all( - widget.searchInputRadius != null - ? Radius.circular(widget.searchInputRadius!) - : Radius.circular(5)), + borderRadius: BorderRadius.all(widget.searchInputRadius != null + ? Radius.circular(widget.searchInputRadius!) + : Radius.circular(5)), borderSide: const BorderSide( color: Colors.black26, ), ), enabledBorder: OutlineInputBorder( - borderRadius: BorderRadius.all( - widget.searchInputRadius != null - ? Radius.circular(widget.searchInputRadius!) - : Radius.circular(5)), + borderRadius: BorderRadius.all(widget.searchInputRadius != null + ? Radius.circular(widget.searchInputRadius!) + : Radius.circular(5)), borderSide: const BorderSide(color: Colors.black12), ), ), - style: widget.itemStyle != null - ? widget.itemStyle - : TextStyle(fontSize: 14), + style: widget.itemStyle != null ? widget.itemStyle : TextStyle(fontSize: 14), controller: textController, ), ), SizedBox(height: 5), Expanded( child: ClipRRect( - borderRadius: BorderRadius.all(widget.dialogRadius != null - ? Radius.circular(widget.dialogRadius!) - : Radius.circular(5)), + borderRadius: BorderRadius.all( + widget.dialogRadius != null ? Radius.circular(widget.dialogRadius!) : Radius.circular(5)), //borderRadius: widget.dialogRadius!=null?BorderRadius.circular(widget.dropDownRadius!):BorderRadius.circular(14), child: ListView.builder( itemCount: filteredList.length, @@ -246,13 +241,10 @@ class _SearchDialogState extends State { Navigator.pop(context, filteredList[index]); }, child: Padding( - padding: const EdgeInsets.symmetric( - vertical: 10, horizontal: 18), + padding: const EdgeInsets.symmetric(vertical: 10, horizontal: 18), child: Text( filteredList[index].toString(), - style: widget.itemStyle != null - ? widget.itemStyle - : TextStyle(fontSize: 14), + style: widget.itemStyle != null ? widget.itemStyle : TextStyle(fontSize: 14), ), )); }), @@ -275,8 +267,7 @@ class CustomDialog extends StatelessWidget { this.insetAnimationDuration = const Duration(milliseconds: 100), this.insetAnimationCurve = Curves.decelerate, this.shape, - this.constraints = const BoxConstraints( - minWidth: 280.0, minHeight: 280.0, maxHeight: 400.0, maxWidth: 400.0), + this.constraints = const BoxConstraints(minWidth: 280.0, minHeight: 280.0, maxHeight: 400.0, maxWidth: 400.0), }) : super(key: key); /// The widget below this widget in the tree. @@ -312,15 +303,13 @@ class CustomDialog extends StatelessWidget { // TODO(johnsonmh): Update default dialog border radius to 4.0 to match material spec. static const RoundedRectangleBorder _defaultDialogShape = - RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(2.0))); + RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(2.0))); @override Widget build(BuildContext context) { - final DialogTheme dialogTheme = DialogTheme.of(context); + final DialogThemeData dialogTheme = DialogTheme.of(context); return AnimatedPadding( - padding: MediaQuery.of(context).viewInsets + - const EdgeInsets.symmetric(horizontal: 22.0, vertical: 24.0), + padding: MediaQuery.of(context).viewInsets + const EdgeInsets.symmetric(horizontal: 22.0, vertical: 24.0), duration: insetAnimationDuration, curve: insetAnimationCurve, child: MediaQuery.removeViewInsets( diff --git a/pubspec.lock b/pubspec.lock index fa04c20..682af34 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: async - sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0 + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted - version: "2.10.0" + version: "2.11.0" boolean_selector: dependency: transitive description: @@ -21,10 +21,10 @@ packages: dependency: transitive description: name: characters - sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.3.0" clock: dependency: transitive description: @@ -37,10 +37,10 @@ packages: dependency: transitive description: name: collection - sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0 + sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted - version: "1.17.0" + version: "1.19.0" fake_async: dependency: transitive description: @@ -59,83 +59,99 @@ packages: description: flutter source: sdk version: "0.0.0" - js: + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" + url: "https://pub.dev" + source: hosted + version: "10.0.7" + leak_tracker_flutter_testing: dependency: transitive description: - name: js - sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7" + name: leak_tracker_flutter_testing + sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted - version: "0.6.5" + version: "3.0.8" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" matcher: dependency: transitive description: name: matcher - sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.13" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted - version: "1.8.0" + version: "1.15.0" path: dependency: transitive description: name: path - sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.2" + version: "1.9.0" sky_engine: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_span: dependency: transitive description: name: source_span - sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" stack_trace: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.12.0" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" term_glyph: dependency: transitive description: @@ -148,10 +164,10 @@ packages: dependency: transitive description: name: test_api - sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 + sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted - version: "0.4.16" + version: "0.7.3" vector_math: dependency: transitive description: @@ -160,6 +176,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" + vm_service: + dependency: transitive + description: + name: vm_service + sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b + url: "https://pub.dev" + source: hosted + version: "14.3.0" sdks: - dart: ">=2.18.0 <4.0.0" - flutter: ">=1.17.0" + dart: ">=3.4.0 <=3.6.0" + flutter: ">=3.18.0-18.0.pre.54" diff --git a/pubspec.yaml b/pubspec.yaml index f3b98f0..d86a06e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,10 +1,10 @@ name: csc_picker description: A flutter package to display list of Countries, States and Cities depends on Selected, also you can search country, state, and city all around the world. -version: 0.2.7 +version: 0.2.8 homepage: https://github.com/altafc22/csc_picker environment: - sdk: ">=2.12.0 <3.0.0" + sdk: ">=2.12.0 <=3.6.0" flutter: ">=1.17.0" dependencies: From 6401032f1c56c8759ac69a9e91a6d7cd3a491747 Mon Sep 17 00:00:00 2001 From: Komos Solutions Ltd <150949169+KomosSolutions@users.noreply.github.com> Date: Sun, 26 Jan 2025 12:22:25 +0000 Subject: [PATCH 2/2] Upgraded the sdk version --- .dart_tool/package_config.json | 6 +- .idea/libraries/Dart_Packages.xml | 94 +++++++++++++++++++------------ .idea/libraries/Dart_SDK.xml | 41 +++++++------- example/pubspec.lock | 4 +- example/pubspec.yaml | 2 +- pubspec.lock | 2 +- pubspec.yaml | 4 +- 7 files changed, 90 insertions(+), 63 deletions(-) diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index 0dcf4b1..1738c91 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -152,10 +152,10 @@ "languageVersion": "2.12" } ], - "generated": "2024-12-20T23:49:52.211411Z", + "generated": "2025-01-26T12:21:48.767283Z", "generator": "pub", - "generatorVersion": "3.6.0", + "generatorVersion": "3.6.1", "flutterRoot": "file:///C:/ProgFiles/Flutter.io", - "flutterVersion": "3.27.1", + "flutterVersion": "3.27.2", "pubCache": "file:///C:/Users/Damian/AppData/Local/Pub/Cache" } diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index 364fd85..2e9cbb1 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -5,7 +5,7 @@ - @@ -19,7 +19,7 @@ - @@ -33,14 +33,14 @@ - - @@ -54,84 +54,98 @@ - - - + - + + + + + + + + + + + + - - - - - - - - - @@ -145,7 +159,7 @@ - @@ -156,31 +170,41 @@ + + + + + + - + + + + - + - - + + - - - - - - - - - + + + + + + + + + + + - + - - - + diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml index c6628b5..c3de6ef 100644 --- a/.idea/libraries/Dart_SDK.xml +++ b/.idea/libraries/Dart_SDK.xml @@ -1,25 +1,28 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/example/pubspec.lock b/example/pubspec.lock index 52b89c2..55465fe 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -47,7 +47,7 @@ packages: path: ".." relative: true source: path - version: "0.2.8" + version: "0.2.9" cupertino_icons: dependency: "direct main" description: @@ -200,5 +200,5 @@ packages: source: hosted version: "14.3.0" sdks: - dart: ">=3.4.0 <=3.6.0" + dart: ">=3.4.0 <4.0.0" flutter: ">=3.18.0-18.0.pre.54" diff --git a/example/pubspec.yaml b/example/pubspec.yaml index ef9c04d..1aa2809 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ">=2.12.0 <=3.6.0" + sdk: ">=2.12.0 <4.0.0" dependencies: flutter: diff --git a/pubspec.lock b/pubspec.lock index 682af34..461388f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -185,5 +185,5 @@ packages: source: hosted version: "14.3.0" sdks: - dart: ">=3.4.0 <=3.6.0" + dart: ">=3.4.0 <4.0.0" flutter: ">=3.18.0-18.0.pre.54" diff --git a/pubspec.yaml b/pubspec.yaml index d86a06e..d2c1a9a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,10 +1,10 @@ name: csc_picker description: A flutter package to display list of Countries, States and Cities depends on Selected, also you can search country, state, and city all around the world. -version: 0.2.8 +version: 0.2.9 homepage: https://github.com/altafc22/csc_picker environment: - sdk: ">=2.12.0 <=3.6.0" + sdk: ">=2.12.0 <4.0.0" flutter: ">=1.17.0" dependencies: