Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With Input Decoration & Upgraded Flutter SDK Version #75

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 35 additions & 35 deletions .dart_tool/package_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,138 +3,138 @@
"packages": [
{
"name": "async",
"rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.10.0",
"rootUri": "file:///C:/Users/MW/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/MW/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/MW/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/MW/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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.2",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "2.18"
},
{
"name": "fake_async",
"rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1",
"rootUri": "file:///C:/Users/MW/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:/src/flutter/packages/flutter",
"packageUri": "lib/",
"languageVersion": "2.17"
"languageVersion": "3.0"
},
{
"name": "flutter_test",
"rootUri": "file:///C:/flutter/packages/flutter_test",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "js",
"rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.6.5",
"rootUri": "file:///C:/src/flutter/packages/flutter_test",
"packageUri": "lib/",
"languageVersion": "2.16"
"languageVersion": "3.0"
},
{
"name": "matcher",
"rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.13",
"rootUri": "file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.5.0",
"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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.9.1",
"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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.3",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "sky_engine",
"rootUri": "file:///C:/flutter/bin/cache/pkg/sky_engine",
"rootUri": "file:///C:/src/flutter/bin/cache/pkg/sky_engine",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "3.0"
},
{
"name": "source_span",
"rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.9.1",
"rootUri": "file:///C:/Users/MW/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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "stream_channel",
"rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1",
"rootUri": "file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1",
"packageUri": "lib/",
"languageVersion": "2.14"
},
{
"name": "string_scanner",
"rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0",
"rootUri": "file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "term_glyph",
"rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1",
"rootUri": "file:///C:/Users/MW/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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.6.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "vector_math",
"rootUri": "file:///C:/Users/Oras/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4",
"rootUri": "file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4",
"packageUri": "lib/",
"languageVersion": "2.14"
},
{
"name": "web",
"rootUri": "file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/web-0.1.4-beta",
"packageUri": "lib/",
"languageVersion": "3.1"
},
{
"name": "csc_picker",
"rootUri": "../",
"packageUri": "lib/",
"languageVersion": "2.12"
"languageVersion": "3.1"
}
],
"generated": "2023-02-02T04:34:46.408317Z",
"generated": "2023-09-06T09:29:14.888341Z",
"generator": "pub",
"generatorVersion": "2.19.0"
"generatorVersion": "3.1.0"
}
106 changes: 53 additions & 53 deletions .dart_tool/package_config_subset
Original file line number Diff line number Diff line change
@@ -1,89 +1,89 @@
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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0/
file:///C:/Users/MW/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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/
file:///C:/Users/MW/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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.3.0/
file:///C:/Users/MW/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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1/
file:///C:/Users/MW/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/
2.18
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.2/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.2/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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.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/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16/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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.5.0/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.5.0/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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.9.1/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.9.1/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/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.3/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.3/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/
2.18
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0/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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.0/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.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/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1/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/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/
file:///C:/Users/MW/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/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.6.0/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.6.0/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/MW/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/lib/
web
3.1
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/web-0.1.4-beta/
file:///C:/Users/MW/AppData/Local/Pub/Cache/hosted/pub.dev/web-0.1.4-beta/lib/
csc_picker
2.12
file:///C:/Users/Oras/Documents/GitHub/csc_picker/
file:///C:/Users/Oras/Documents/GitHub/csc_picker/lib/
3.1
file:///C:/Users/MW/Documents/MW/pros/csc_picker/
file:///C:/Users/MW/Documents/MW/pros/csc_picker/lib/
sky_engine
2.12
file:///C:/flutter/bin/cache/pkg/sky_engine/
file:///C:/flutter/bin/cache/pkg/sky_engine/lib/
3.0
file:///C:/src/flutter/bin/cache/pkg/sky_engine/
file:///C:/src/flutter/bin/cache/pkg/sky_engine/lib/
flutter
2.17
file:///C:/flutter/packages/flutter/
file:///C:/flutter/packages/flutter/lib/
3.0
file:///C:/src/flutter/packages/flutter/
file:///C:/src/flutter/packages/flutter/lib/
flutter_test
2.17
file:///C:/flutter/packages/flutter_test/
file:///C:/flutter/packages/flutter_test/lib/
3.0
file:///C:/src/flutter/packages/flutter_test/
file:///C:/src/flutter/packages/flutter_test/lib/
2
2 changes: 1 addition & 1 deletion .dart_tool/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.0
3.13.2
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ you will get feedback in onChanged functions
<tr><td>countryDropdownLabel</td><td>String</td><td>Label/Title for country dropdown</td></tr>
<tr><td>countryDropdownLabel</td><td>String</td><td>Label/Title for state dropdown</td></tr>
<tr><td>countryDropdownLabel</td><td>String</td><td>Label/Title for city dropdown</td></tr>
<tr><td>inputDecoration</td><td>String</td><td>Input Decoration if need to use in from.</td></tr>
</table>

### Example
Expand Down Expand Up @@ -212,6 +213,11 @@ class _MyHomePageState extends State<MyHomePage> {
cityValue = value;
});
},

/// Input Decoration for using CSC in forms [OPTIONAL PARAMETER]
inputDecoration: InputDecoration(
enabledBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.black54))),
),

///print newly selected country state and city in Text Widget
Expand Down
39 changes: 37 additions & 2 deletions example/.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,42 @@
# This file should be version controlled and should not be manually edited.

version:
revision: 9b2d32b605630f28625709ebd9d78ab3016b2bf6
channel: stable
revision: "ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
base_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
- platform: android
create_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
base_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
- platform: ios
create_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
base_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
- platform: linux
create_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
base_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
- platform: macos
create_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
base_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
- platform: web
create_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
base_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
- platform: windows
create_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a
base_revision: ff5b5b5fa6f35b717667719ddfdb1521d8bdd05a

# 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'
Loading