Skip to content

Commit 524e638

Browse files
committed
Released v4.2.0
1 parent 8830310 commit 524e638

File tree

5 files changed

+16
-23
lines changed

5 files changed

+16
-23
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## [4.2.0] - 29-Dec-2020
2+
* Added support for Slovak (sk) - @AdamA
3+
4+
**BREAKING CHANGES**:
5+
* Removed file picker field from package - moved to [form_builder_file_picker](https://pub.dev/packages/form_builder_file_picker) package.
6+
* Removed image picker field from package - moved to [form_builder_image_picker](https://pub.dev/packages/form_builder_image_picker) package.
7+
* Removed phone field field from package - moved to [form_builder_phone_field](https://pub.dev/packages/form_builder_phone_field) package.
8+
19
## [4.1.0] - 18-Dec-2020
210
* Added support for Portuguese (pt)
311
* Added support for Japanese (ja)

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,10 +370,7 @@ The currently supported fields include:
370370
* `FormBuilderDateRangePicker` - For selection of a range of dates
371371
* `FormBuilderDateTimePicker` - For `Date`, `Time` and `DateTime` input
372372
* `FormBuilderDropdown` - Used to select one value from a list as a Dropdown
373-
* `FormBuilderFilePicker` - Picks image(s) from user device storage.
374373
* `FormBuilderFilterChip` - Creates a chip that acts like a checkbox.
375-
* `FormBuilderImagePicker` - Picks image(s) from Gallery or Camera.
376-
* `FormBuilderPhoneField` - International phone number input.
377374
* `FormBuilderRadioGroup` - Used to select one value from a list of Radio Widgets
378375
* `FormBuilderRangeSlider` - Used to select a range from a range of values
379376
* `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
399396
| `valueTransformer` | `ValueTransformer<T>` | `null` | `No` | Function that transforms field value before saving to form value. e.g. transform TextField value for numeric field from `String` to `num` |
400397
The rest of the attributes will be determined by the type of Widget being used.
401398

399+
### Additional input fields
400+
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`
401+
* [FormBuilderFilePicker](https://pub.dev/packages/form_builder_file_picker) - Picks image(s) from user device storage.
402+
* [FormBuilderImagePicker](https://pub.dev/packages/form_builder_image_picker) - Picks image(s) from Gallery or Camera.
403+
* [FormBuilderLocationField](https://pub.dev/packages/form_builder_map_field) - Geographic location input.
404+
* [FormBuilderPhoneField](https://pub.dev/packages/form_builder_phone_field) - International phone number input.
405+
402406
### Building your own custom field
403407
To build your own field within a `FormBuilder`, we use `FormBuilderField` which will require that you define your own field.
404408
```dart

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@
139139
9705A1C41CF9048500538489 /* Embed Frameworks */,
140140
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
141141
316197B7DFC7DEE6E0953D1D /* [CP] Embed Pods Frameworks */,
142-
0A3179D4DB58D32FD3672F94 /* [CP] Copy Pods Resources */,
143142
);
144143
buildRules = (
145144
);
@@ -198,23 +197,6 @@
198197
/* End PBXResourcesBuildPhase section */
199198

200199
/* Begin PBXShellScriptBuildPhase section */
201-
0A3179D4DB58D32FD3672F94 /* [CP] Copy Pods Resources */ = {
202-
isa = PBXShellScriptBuildPhase;
203-
buildActionMask = 2147483647;
204-
files = (
205-
);
206-
inputFileListPaths = (
207-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
208-
);
209-
name = "[CP] Copy Pods Resources";
210-
outputFileListPaths = (
211-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
212-
);
213-
runOnlyForDeploymentPostprocessing = 0;
214-
shellPath = /bin/sh;
215-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
216-
showEnvVarsInLog = 0;
217-
};
218200
316197B7DFC7DEE6E0953D1D /* [CP] Embed Pods Frameworks */ = {
219201
isa = PBXShellScriptBuildPhase;
220202
buildActionMask = 2147483647;

lib/flutter_form_builder.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
library flutter_form_builder;
22

3-
// export 'package:country_code_picker/country_code_picker.dart';
43
export 'package:flutter_typeahead/flutter_typeahead.dart';
54
export 'package:signature/signature.dart';
65
export 'package:dropdown_search/dropdown_search.dart' hide ErrorBuilder;

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_form_builder
22
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.
3-
version: 4.1.0
3+
version: 4.2.0
44
homepage: https://github.com/danvick/flutter_form_builder
55

66
environment:

0 commit comments

Comments
 (0)