flutter_dynamic_forms_components 0.7.2

  • Readme
  • Changelog
  • Example
  • Installing
  • 79

flutter_dynamic_forms_components #

pub package

A flutter project containing default set of components for the flutter dynamic forms library.

Most of the components are generated using dynamic_forms_generator.

Note There is an issue where example project may not work in the IDE after running flutter packages pub run build_runner build. You can work around it by deleting .dart_tool folder.

0.7.2 #

Added date range component.

0.7.1 #

Added date component.

0.7.0 #

Updated dependency for flutter dynamic forms and generator.

0.6.0 #

  • Added component generator.
  • Added missing parsers.

0.5.0 #

Added multi select chip group component.

0.4.0 #

  • Added base class for select components.
  • Added single select chip group component.

0.3.0 #

Removed screaming caps convention.

0.2.0 #

Removed dependency on xml from parsers.

0.1.0 #

Initial Version of the library.

example/README.md

flutter_dynamic_forms example #

Example flutter app using default components.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_dynamic_forms_components: ^0.7.2

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_dynamic_forms_components/flutter_dynamic_forms_components.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
60
Health:
Code health derived from static analysis. [more]
96
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
79
Learn more about scoring.

We analyzed this package on Dec 3, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.6

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-1 points)

328 out of 328 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix lib/src/components/check_box/check_box.g.dart. (-0.50 points)

Analysis of lib/src/components/check_box/check_box.g.dart reported 1 hint:

line 3 col 8: Unused import: 'package:flutter_dynamic_forms_components/flutter_dynamic_forms_components.dart'.

Fix lib/src/components/container/container.g.dart. (-0.50 points)

Analysis of lib/src/components/container/container.g.dart reported 1 hint:

line 3 col 8: Unused import: 'package:flutter_dynamic_forms_components/flutter_dynamic_forms_components.dart'.

Fix lib/src/components/label/label.g.dart. (-0.50 points)

Analysis of lib/src/components/label/label.g.dart reported 1 hint:

line 3 col 8: Unused import: 'package:flutter_dynamic_forms_components/flutter_dynamic_forms_components.dart'.

Fix additional 23 files with analysis or formatting issues. (-1.50 points)

Additional issues in the following files:

  • lib/src/components/multi_select_choice/multi_select_choice.g.dart (1 hint)
  • lib/src/components/single_select_choice/single_select_choice.g.dart (1 hint)
  • lib/src/components/text/text.g.dart (1 hint)
  • lib/flutter_dynamic_forms_components.dart (Run flutter format to format lib/flutter_dynamic_forms_components.dart.)
  • lib/src/components/check_box/check_box_parser.g.dart (Run flutter format to format lib/src/components/check_box/check_box_parser.g.dart.)
  • lib/src/components/container/container_parser.g.dart (Run flutter format to format lib/src/components/container/container_parser.g.dart.)
  • lib/src/components/dropdown_button/dropdown_button_parser.g.dart (Run flutter format to format lib/src/components/dropdown_button/dropdown_button_parser.g.dart.)
  • lib/src/components/dropdown_option/dropdown_option_parser.g.dart (Run flutter format to format lib/src/components/dropdown_option/dropdown_option_parser.g.dart.)
  • lib/src/components/form/form_parser.g.dart (Run flutter format to format lib/src/components/form/form_parser.g.dart.)
  • lib/src/components/form_group/form_group_parser.g.dart (Run flutter format to format lib/src/components/form_group/form_group_parser.g.dart.)
  • lib/src/components/label/label_parser.g.dart (Run flutter format to format lib/src/components/label/label_parser.g.dart.)
  • lib/src/components/multi_select_chip_choice/multi_select_chip_choice_parser.g.dart (Run flutter format to format lib/src/components/multi_select_chip_choice/multi_select_chip_choice_parser.g.dart.)
  • lib/src/components/multi_select_chip_group/multi_select_chip_group_parser.g.dart (Run flutter format to format lib/src/components/multi_select_chip_group/multi_select_chip_group_parser.g.dart.)
  • lib/src/components/multi_select_choice/multi_select_choice_parser.g.dart (Run flutter format to format lib/src/components/multi_select_choice/multi_select_choice_parser.g.dart.)
  • lib/src/components/multi_select_group/multi_select_group.g.dart (Run flutter format to format lib/src/components/multi_select_group/multi_select_group.g.dart.)
  • lib/src/components/radio_button/radio_button_parser.g.dart (Run flutter format to format lib/src/components/radio_button/radio_button_parser.g.dart.)
  • lib/src/components/radio_button_group/radio_button_group.g.dart (Run flutter format to format lib/src/components/radio_button_group/radio_button_group.g.dart.)
  • lib/src/components/radio_button_group/radio_button_group_parser.g.dart (Run flutter format to format lib/src/components/radio_button_group/radio_button_group_parser.g.dart.)
  • lib/src/components/single_select_chip_choice/single_select_chip_choice_parser.g.dart (Run flutter format to format lib/src/components/single_select_chip_choice/single_select_chip_choice_parser.g.dart.)
  • lib/src/components/single_select_chip_group/single_select_chip_group_parser.g.dart (Run flutter format to format lib/src/components/single_select_chip_group/single_select_chip_group_parser.g.dart.)
  • lib/src/components/single_select_choice/single_select_choice_parser.g.dart (Run flutter format to format lib/src/components/single_select_choice/single_select_choice_parser.g.dart.)
  • lib/src/components/single_select_group/single_select_group.g.dart (Run flutter format to format lib/src/components/single_select_group/single_select_group.g.dart.)
  • lib/src/components/text/text_parser.g.dart (Run flutter format to format lib/src/components/text/text_parser.g.dart.)

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
flutter 0.0.0
flutter_dynamic_forms ^0.7.0 0.7.1
intl ^0.16.0 0.16.0
Transitive dependencies
charcode 1.1.2
collection 1.14.11 1.14.12
convert 2.1.1
crypto 2.1.3
dynamic_forms 0.7.0
expression_language 0.1.4
matcher 0.12.6
meta 1.1.7 1.1.8
path 1.6.4
petitparser 2.4.0
quiver 2.1.2+1
rational 0.3.6
rxdart 0.22.6 0.23.0-dev.2
sky_engine 0.0.99
stack_trace 1.9.3
typed_data 1.1.6
uuid 2.0.4
vector_math 2.0.8
xml 3.5.0 3.6.0
Dev dependencies
build_runner ^1.0.0
dynamic_forms_generator ^0.2.0
flutter_test