flutter-form-builder-ecosystem / flutter-form-builder-ecosystem/flutter_form_builder

Type safe forms values

Open
#825 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
1.6k
Forks
561
PR merge metrics
No merged PRs in 30d

Description

currently `FormBuilder.initialValue(formSchema)`
formSchema is `Map`
any plans for making **"form schema"** type safe?

```
/// An optional Map of field initialValues. Keys correspond to the field's
/// name and value to the initialValue of the field.
///
/// The initialValues set here will be ignored if the field has a local
/// initialValue set.
final Map initialValue; // current solution

final T initialValue; // Maybe someday in the future?
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.