diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fd40e3324..d7c8db9501 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [4.2.0] - 29-Dec-2020 +* Added support for Slovak (sk) - @AdamA + +**BREAKING CHANGES**: +* Removed file picker field from package - moved to [form_builder_file_picker](https://pub.dev/packages/form_builder_file_picker) package. +* Removed image picker field from package - moved to [form_builder_image_picker](https://pub.dev/packages/form_builder_image_picker) package. +* Removed phone field field from package - moved to [form_builder_phone_field](https://pub.dev/packages/form_builder_phone_field) package. + ## [4.1.0] - 18-Dec-2020 * Added support for Portuguese (pt) * Added support for Japanese (ja) diff --git a/README.md b/README.md index 2de1f0be7f..3a4121569e 100644 --- a/README.md +++ b/README.md @@ -370,10 +370,7 @@ The currently supported fields include: * `FormBuilderDateRangePicker` - For selection of a range of dates * `FormBuilderDateTimePicker` - For `Date`, `Time` and `DateTime` input * `FormBuilderDropdown` - Used to select one value from a list as a Dropdown -* `FormBuilderFilePicker` - Picks image(s) from user device storage. * `FormBuilderFilterChip` - Creates a chip that acts like a checkbox. -* `FormBuilderImagePicker` - Picks image(s) from Gallery or Camera. -* `FormBuilderPhoneField` - International phone number input. * `FormBuilderRadioGroup` - Used to select one value from a list of Radio Widgets * `FormBuilderRangeSlider` - Used to select a range from a range of values * `FormBuilderRating` - For selection of a numerical value as a rating @@ -399,6 +396,13 @@ In order to create an input field in the form, along with the label, and any app | `valueTransformer` | `ValueTransformer` | `null` | `No` | Function that transforms field value before saving to form value. e.g. transform TextField value for numeric field from `String` to `num` | The rest of the attributes will be determined by the type of Widget being used. +### Additional input fields +To make this package compartible with as many platforms as Flutter supports, we separated some input fields into their own packages because they depend on platform-specific plugins. Here's are the links to some of the packages that could be used with `FormBuilder` +* [FormBuilderFilePicker](https://pub.dev/packages/form_builder_file_picker) - Picks image(s) from user device storage. +* [FormBuilderImagePicker](https://pub.dev/packages/form_builder_image_picker) - Picks image(s) from Gallery or Camera. +* [FormBuilderLocationField](https://pub.dev/packages/form_builder_map_field) - Geographic location input. +* [FormBuilderPhoneField](https://pub.dev/packages/form_builder_phone_field) - International phone number input. + ### Building your own custom field To build your own field within a `FormBuilder`, we use `FormBuilderField` which will require that you define your own field. ```dart diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 067d7ae210..91a1c26f24 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -139,7 +139,6 @@ 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 316197B7DFC7DEE6E0953D1D /* [CP] Embed Pods Frameworks */, - 0A3179D4DB58D32FD3672F94 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -198,23 +197,6 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 0A3179D4DB58D32FD3672F94 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; 316197B7DFC7DEE6E0953D1D /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; diff --git a/lib/flutter_form_builder.dart b/lib/flutter_form_builder.dart index 851c5c7db7..e14101f5ad 100644 --- a/lib/flutter_form_builder.dart +++ b/lib/flutter_form_builder.dart @@ -1,6 +1,5 @@ library flutter_form_builder; -// export 'package:country_code_picker/country_code_picker.dart'; export 'package:flutter_typeahead/flutter_typeahead.dart'; export 'package:signature/signature.dart'; export 'package:dropdown_search/dropdown_search.dart' hide ErrorBuilder; diff --git a/pubspec.yaml b/pubspec.yaml index 93d5b5fb5b..2975f0fe95 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_form_builder description: This package helps in creation of forms in Flutter by removing the boilerplate code, reusing validation, react to changes, and collect final user input. -version: 4.1.0 +version: 4.2.0 homepage: https://github.com/danvick/flutter_form_builder environment: