Skip to content

Commit 8646ac3

Browse files
Merge pull request #32 from flutter-form-builder-ecosystem/refactor-readme
Refactor readme
2 parents 52d8849 + 0c4e835 commit 8646ac3

File tree

2 files changed

+82
-18
lines changed

2 files changed

+82
-18
lines changed

.github/workflows/base.yaml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ jobs:
4949
flutter build ios --debug --no-codesign
5050
flutter build web
5151
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: flutter_form_builder
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_image_picker
5959

6060
deployment:
6161
if: ${{ github.ref_type == 'tag' }}
@@ -79,3 +79,13 @@ jobs:
7979
sh ./tool/pub_login.sh
8080
- name: Publish package
8181
run: dart pub publish -v -f
82+
- name: Build changelog
83+
id: github_release
84+
uses: mikepenz/release-changelog-builder-action@v3
85+
env:
86+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87+
- name: Create release
88+
uses: softprops/action-gh-release@v0.1.14
89+
with:
90+
body: ${{steps.github_release.outputs.changelog}}
91+

README.md

Lines changed: 65 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,42 @@
11
# Form Builder Image Picker
22

3+
Images picker field for FlutterFormBuilder. Get images from gallery or camera.
4+
35
[![Pub Version](https://img.shields.io/pub/v/form_builder_image_picker?logo=flutter&style=for-the-badge)](https://pub.dev/packages/form_builder_image_picker)
46
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/flutter-form-builder-ecosystem/form_builder_image_picker/Base?logo=github&style=for-the-badge)](https://github.com/flutter-form-builder-ecosystem/form_builder_image_picker/actions/workflows/base.yaml)
57
[![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/flutter-form-builder-ecosystem/form_builder_image_picker?logo=codefactor&style=for-the-badge)](https://www.codefactor.io/repository/github/flutter-form-builder-ecosystem/form_builder_image_picker)
68
[![Codecov](https://img.shields.io/codecov/c/github/flutter-form-builder-ecosystem/form_builder_image_picker?logo=codecov&style=for-the-badge)](https://codecov.io/gh/flutter-form-builder-ecosystem/form_builder_image_picker/)
9+
[![Discord](https://img.shields.io/discord/985922433578053673?logo=discord&style=for-the-badge)](https://discord.com/invite/25KNPMJQf2)
710

8-
Images picker field for FlutterFormBuilder. Get images from gallery or camera.
11+
___
12+
13+
- [Features](#features)
14+
- [Use](#use)
15+
- [Setup](#setup)
16+
- [Basic use](#basic-use)
17+
- [Especific uses](#especific-uses)
18+
- [Support](#support)
19+
- [Contribute](#contribute)
20+
- [Questions and answers](#questions-and-answers)
21+
- [Donations](#donations)
22+
- [Roadmap](#roadmap)
23+
- [Ecosystem](#ecosystem)
24+
- [Thanks to](#thanks-to)
25+
- [Contributors](#contributors)
26+
27+
## Features
28+
29+
- Pick image from gallery or camera
30+
- Show images in form
31+
- Support several images types: `Uint8List`, `XFile`, `String` (url) or `ImageProvider`
932

10-
# Setup
33+
## Use
1134

12-
Since this package makes use of [image_picker package](https://pub.dev/packages/image_picker), for platform specific setup, follow the instructions [here](https://github.com/flutter/plugins/tree/main/packages/image_picker/image_picker#installation)
35+
### Setup
1336

14-
## Usage
37+
Since this package makes use of [image_picker](https://pub.dev/packages/image_picker) package, for platform specific setup, follow the instructions [here](https://github.com/flutter/plugins/tree/main/packages/image_picker/image_picker#installation)
38+
39+
### Basuc use
1540

1641
```dart
1742
FormBuilder(
@@ -23,18 +48,47 @@ FormBuilder(
2348
decoration: const InputDecoration(labelText: 'Pick Photos'),
2449
maxImages: 1,
2550
),
26-
const SizedBox(height: 15),
27-
RaisedButton(onPressed: (){
28-
if(_formKey.currentState.saveAndValidate()){
29-
print(_formKey.currentState.value);
30-
}
31-
})
3251
],
3352
),
3453
),
3554
```
3655

37-
## Credits
56+
See [pud.dev example tab](https://pub.dev/packages/form_builder_image_picker/example) or [github code](example/lib/main.dart) for more details
57+
58+
## Support
59+
60+
### Contribute
61+
62+
You have some ways to contribute to this packages
63+
64+
- Beginner: Reporting bugs or request new features
65+
- Intermediate: Implement new features (from issues or not) and created pull requests
66+
- Advanced: Join to [organization](#ecosystem) like a member and help coding, manage issues, dicuss new features and other things
67+
68+
See [contribution file](https://github.com/flutter-form-builder-ecosystem/.github/blob/main/CONTRIBUTING.md) for more details
69+
70+
### Questions and answers
71+
72+
You can join to [our Discord server](https://discord.gg/25KNPMJQf2) or search answers in [StackOverflow](https://stackoverflow.com/questions/tagged/flutter-form-builder)
73+
74+
### Donations
75+
76+
Buy a coffe to [Danvick Miller](https://twitter.com/danvickmiller), creator of this awesome package
77+
78+
[![Buy me a coffee](https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-1.svg)](https://www.buymeacoffee.com/danvick)
79+
80+
81+
## Roadmap
82+
83+
- [Add visual examples](https://github.com/flutter-form-builder-ecosystem/form_builder_image_picker/issues/31) (images, gifs, videos, sample application)
84+
- [Solve open issues](https://github.com/flutter-form-builder-ecosystem/form_builder_image_picker/issues), [prioritizing bugs](https://github.com/flutter-form-builder-ecosystem/form_builder_image_picker/labels/bug)
85+
86+
## Ecosystem
87+
88+
Take a look to [our awesome ecosystem](https://github.com/flutter-form-builder-ecosystem) and all packages in there
89+
90+
## Thanks to
91+
### Contributors
3892

3993
<a href="https://github.com/flutter-form-builder-ecosystem/form_builder_image_picker/graphs/contributors">
4094
<img src="https://contrib.rocks/image?repo=flutter-form-builder-ecosystem/form_builder_image_picker" />

0 commit comments

Comments
 (0)