Skip to content

Commit 7a39783

Browse files
chore: Initial commit
1 parent ea414dc commit 7a39783

File tree

98 files changed

+5279
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+5279
-0
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# github: [danvick]
2+
custom: https://www.buymeacoffee.com/danvick
3+
patreon: danvick

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
name: "\U0001F41B Bug"
3+
about: Something is crashing or not working as intended
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
## Environment
11+
12+
**Package version:**
13+
14+
<details>
15+
<summary>Flutter doctor</summary>
16+
17+
<!-- Paste the output of running `flutter doctor -v` below inside ``` and ``` -->
18+
```
19+
```
20+
21+
</details>
22+
23+
<details>
24+
<summary>Code sample</summary>
25+
26+
<!--
27+
Please create a minimal reproducible sample that shows the problem
28+
and attach it below between the lines with the backticks.
29+
30+
You can use a example code or Flutter sample app
31+
32+
Without this we will unlikely be able to progress on the issue, and because of that
33+
we regretfully will have to close it.
34+
-->
35+
36+
```dart
37+
```
38+
39+
</details>
40+
41+
## Description
42+
43+
**Expected behavior:**
44+
45+
**Current behavior:**
46+
47+
## Steps to reproduce
48+
49+
1. This
50+
2. Than that
51+
3. Then
52+
53+
## Images <!-- if available, else delete -->
54+
55+
## Stacktrace/Logcat <!-- if available, else delete -->
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: "\U0001F4C3 Documentation"
3+
about: You want to report something that is wrong or missing from the documentation
4+
title: ''
5+
labels: documentation
6+
assignees: ''
7+
8+
---
9+
10+
### Describe the change you would like to see
11+
<!-- A clear and concise description of the bug or documentation you feel is missing.
12+
For example: The Technical Reference does not include information about the FormBuilderFilterChip widget. -->
13+
14+
### How would the suggested change make the documentation more useful?
15+
<!-- Provide context for how the requested change would make the docs easier to use and improve your ability to develop successful applications with this packages.
16+
For example: It's hard to know a method exists or understand its use when you have to search through the code base to learn about it. Properly documenting it in the Technical Reference makes it easier for me to know what the flutter_fom_builder is (and is not capable of). -->
17+
18+
### Additional context
19+
<!-- Add any other context about your feedback here.
20+
For example: I am reading the docs directly from GitHub, so it's harder for me to find information on a particular method if it's not included in the documentation. -->
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: "\U0001F680 Feature request"
3+
about: Suggest new feature or request for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
## Environment
11+
12+
**Package version:**
13+
14+
## Description
15+
16+
**What you'd like to happen:**
17+
18+
**Alternatives you've considered:** <!-- if available, else delete -->
19+
20+
**Images:** <!-- if available, else delete -->
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: "\U0001F914 Questions and help"
3+
about: You have a question or need help using this package
4+
title: ''
5+
labels: question
6+
assignees: ''
7+
8+
---
9+
10+
## Describe your question
11+
<!-- A clear and concise description of your question or help wanted.
12+
For example: How can I add a datetime field? -->

.github/workflows/base.yaml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: Base
2+
3+
on:
4+
push:
5+
branches: [main]
6+
tags:
7+
- '*'
8+
9+
pull_request:
10+
branches: [main]
11+
12+
workflow_dispatch:
13+
14+
jobs:
15+
build:
16+
runs-on: macos-latest
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
channel: [stable, beta]
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
25+
- name: Check broken links
26+
uses: JustinBeckwith/linkinator-action@v1
27+
with:
28+
paths: "**/*.md"
29+
30+
- name: Flutter action
31+
uses: subosito/flutter-action@v2
32+
with:
33+
channel: ${{ matrix.channel }}
34+
35+
- name: Install dependencies
36+
run: flutter pub get
37+
- name: Format code
38+
run: flutter format --dry-run --set-exit-if-changed .
39+
- name: Analyze static code
40+
run: flutter analyze
41+
- name: Run tests
42+
run: flutter test
43+
- name: Check publish warnings
44+
run: dart pub publish --dry-run
45+
- name: Build example
46+
run: |
47+
cd example
48+
flutter build appbundle --debug
49+
flutter build ios --debug --no-codesign
50+
flutter build web
51+
52+
- name: Upload coverage to Codecov
53+
if: ${{ matrix.channel == 'stable' }}
54+
uses: codecov/codecov-action@v3
55+
with:
56+
files: coverage/lcov.info
57+
flags: unittests
58+
name: form_builder_extra_fields
59+
60+
deployment:
61+
if: ${{ github.ref_type == 'tag' }}
62+
needs: build
63+
name: Deploy package
64+
runs-on: ubuntu-latest
65+
66+
steps:
67+
- name: Configure enviroment
68+
uses: actions/checkout@v3
69+
- name: Download flutter
70+
uses: subosito/flutter-action@v2
71+
with:
72+
channel: 'stable'
73+
- name: Setup pub credentials
74+
shell: bash
75+
env:
76+
PUB_DEV_PUBLISH_ACCESS_TOKEN: ${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}
77+
PUB_DEV_PUBLISH_REFRESH_TOKEN: ${{ secrets.PUB_DEV_PUBLISH_REFRESH_TOKEN }}
78+
run: |
79+
sh ./tool/pub_login.sh
80+
- name: Publish package
81+
run: dart pub publish -v -f

.gitignore

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
.fvm/
12+
13+
# IntelliJ related
14+
*.iml
15+
*.ipr
16+
*.iws
17+
.idea/
18+
19+
# The .vscode folder contains launch configuration and tasks you configure in
20+
# VS Code which you may wish to be included in version control, so this line
21+
# is commented out by default.
22+
#.vscode/
23+
24+
# Flutter/Dart/Pub related
25+
**/doc/api/
26+
.dart_tool/
27+
.flutter-plugins
28+
.flutter-plugins-dependencies
29+
.packages
30+
.pub-cache/
31+
.pub/
32+
build/
33+
34+
# Android related
35+
**/android/**/gradle-wrapper.jar
36+
**/android/.gradle
37+
**/android/captures/
38+
**/android/gradlew
39+
**/android/gradlew.bat
40+
**/android/local.properties
41+
**/android/**/GeneratedPluginRegistrant.java
42+
43+
# iOS/XCode related
44+
**/ios/**/*.mode1v3
45+
**/ios/**/*.mode2v3
46+
**/ios/**/*.moved-aside
47+
**/ios/**/*.pbxuser
48+
**/ios/**/*.perspectivev3
49+
**/ios/**/*sync/
50+
**/ios/**/.sconsign.dblite
51+
**/ios/**/.tags*
52+
**/ios/**/.vagrant/
53+
**/ios/**/DerivedData/
54+
**/ios/**/Icon?
55+
**/ios/**/Pods/
56+
**/ios/**/.symlinks/
57+
**/ios/**/profile
58+
**/ios/**/xcuserdata
59+
**/ios/.generated/
60+
**/ios/Flutter/App.framework
61+
**/ios/Flutter/Flutter.framework
62+
**/ios/Flutter/Flutter.podspec
63+
**/ios/Flutter/Generated.xcconfig
64+
**/ios/Flutter/app.flx
65+
**/ios/Flutter/app.zip
66+
**/ios/Flutter/flutter_assets/
67+
**/ios/Flutter/flutter_export_environment.sh
68+
**/ios/ServiceDefinitions.json
69+
**/ios/Runner/GeneratedPluginRegistrant.*
70+
71+
# Exceptions to above rules.
72+
!**/ios/**/default.mode1v3
73+
!**/ios/**/default.mode2v3
74+
!**/ios/**/default.pbxuser
75+
!**/ios/**/default.perspectivev3

.metadata

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: adc687823a831bbebe28bdccfac1a628ca621513
8+
channel: stable
9+
10+
project_type: package

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
## [8.1.0] - 18-May-2022
2+
3+
* Bump up `dropdown_search` package version
4+
* Export the whole `dropdown_search` package
5+
6+
## [8.0.1] - 17-May-2022
7+
8+
* Add missing attributes for `FormBuilderSearchableDropdown`
9+
10+
## [8.0.0] - 16-May-2022
11+
12+
* Flutter 3 compatibility
13+
14+
## [7.1.0] - 31-Jan-2022
15+
16+
* Use `flutter_datetime_picker_bdaya` instead of the unmaintained `flutter_datetime_picker`
17+
* TypeAhead onReset uses `valueTransformer`
18+
* Export the class `TextFieldProps` - prevents importing from transitive dependency `dropdown_search`
19+
20+
## [7.0.0] - 27-Oct-2021
21+
22+
* `flutter_form_builder` ^7.0.0 compatibility
23+
* Upgraded packages
24+
25+
## [7.0.0-alpha.6] - 10-Sep-2021
26+
27+
* Upgraded `flutter_colorpicker` dependency - comes with improvements to `FormBuilderColorPicker` field
28+
* Upgraded `dropdown_search` dependency - comes with improvements to `FormBuilderDropdownSearch` field
29+
* **Breaking Changes**: comes with breaking changes in `FormBuilderColorPicker` modes
30+
31+
## [7.0.0-alpha.5] - 02-Sep-2021
32+
33+
* Upgrade form_builder to v7.0.0-alpha.3
34+
35+
## [7.0.0-alpha.4] - 25-May-2021
36+
37+
* Use null-safe version of `flutter_chips_input`
38+
* Rename `InputType` to `CupertinoDateTimePickerInputType` - avoids name clash with `form_builder_fields`
39+
40+
## [7.0.0-alpha.3] - 17-May-2021
41+
42+
* Replaced `rating_bar` packge with a popular, better maintained and null-safe `flutter_rating_bar`
43+
44+
## [7.0.0-alpha.2] - 17-May-2021
45+
46+
* Improvements to package documentation and example
47+
48+
## [7.0.0-alpha.1] - 16-May-2021
49+
50+
* Split into own package from `flutter_form_builder`

0 commit comments

Comments
 (0)