tekio_forms 0.1.1 copy "tekio_forms: ^0.1.1" to clipboard
tekio_forms: ^0.1.1 copied to clipboard

This package allows you to build a complex forms with just a json file. This package is a part of the tekio plugins.

Welcome to Tekio Forms Package! #

Welcome to Tekio form. This package allows you to build a complex form with just a json. Based on Flutter Form Builder

How to use it #

The package is made in a way to work with the already existing app that you have with minimal code configuration. Start by calling TekioForm and add the TekioFormData like this :

TekioForm(
    formData:  tekioFormData,
)

You can use the example json configuration here.

Next add the form key GlobalKey<FormBuilderState>()

final  GlobalKey<FormBuilderState> _formKey  =  GlobalKey<FormBuilderState>();

TekioForm(
    key: _formKey,
    formData:  tekioFormData,
)

Using your own submit button validate the form and print the data,

_formKey.currentState?.saveAndValidate();
print(_formKey.currentState?.value);

For a full example take a look at the app example

Documentations #

You can find the package full documentation on how to configure it here.

1
likes
150
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

This package allows you to build a complex forms with just a json file. This package is a part of the tekio plugins.

Repository (GitHub)
View/report issues

Topics

#json #widget #dynamic #form #validators

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, flutter_form_builder, form_builder_validators, json_annotation

More

Packages that depend on tekio_forms