Skip to content

Commit

Permalink
Released v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danvick committed Dec 29, 2020
1 parent 8830310 commit 524e638
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 23 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -399,6 +396,13 @@ In order to create an input field in the form, along with the label, and any app
| `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` |
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
Expand Down
18 changes: 0 additions & 18 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
316197B7DFC7DEE6E0953D1D /* [CP] Embed Pods Frameworks */,
0A3179D4DB58D32FD3672F94 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion lib/flutter_form_builder.dart
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 524e638

Please sign in to comment.