Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By leancodepl Verified OrgApache-2.0In 1 marketplace
Lets you build Flutter forms with the advanced_forms package, covering validation, cross-field rules, async checks and subforms. Comes from the advanced_forms package's own repository.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
forms, form-validation, advanced-forms, mobile-forms, server-errors, subforms
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
[![Banner][banner-img]][leancode-landing]
[![License: Apache 2.0][license-badge]][license-badge-link]
Build simple and complicated Flutter forms the same way. Validation, async server-side checks, cross-field rules, subforms and fields added at runtime come out of the box, so a two-field login and a five-step wizard are wired with the same few lines of code.
advanced_forms is Flutter form validation and state management with no framework on top: typed field controllers, composable validators, and form-level state, built on ChangeNotifier and ValueListenable, so it fits whatever state management your app already uses.
filled, notEmpty, notNull, mustBeTrue, atLeastLength, notLongerThan, exactly and numeric checks, combined with & and |, or any E? Function(T) you write yourself.ValidationMode.custom.canSubmit, wasModified, validating and validationErrors, ready to bind to a submit button.[!TIP] Using Claude Code (or another agent that supports Agent Skills)? This package ships an Agent Skill that teaches your agent the full API, so it generates fields, validation, cross-field logic, and subforms idiomatically. With
advanced_formsin yourpubspec.yaml, one command installs it into your agent's skills folder:dart run skills@ getThen say "build me a sign-up form". After a package upgrade, run the same command again and the skill follows.
[![Try it live at advanced-forms.leancode.co — interactive Flutter examples and full documentation][website-img]][site]
Every example on [advanced-forms.leancode.co][site] is a real Flutter form running in your browser — type into it, break it, watch it validate — next to the code that builds it. The documentation there goes well beyond this README: validation modes, async and cross-field validation, subforms, server errors, testing, and how it works under the hood.
flutter pub add advanced_forms
Migrating from 0.1.x, the bloc-based version? See MIGRATION.md.
A form is two classes: a controller that declares the fields and decides what submit means, and a widget that binds each field to an input.
1. The form controller — declares the fields, registers them once, and owns submit:
class SignupFormController extends AdvancedFormController {
SignupFormController() {
registerFields([firstName, lastName]);
}
final firstName = AdvancedTextFieldController(
validator: filled('First name is required'),
);
final lastName = AdvancedTextFieldController(
validator: filled('Last name is required'),
);
Future<void> submit() async {
if (await validate()) {
// send it
}
}
}
2. The form widget — owns the controller, disposes it, and lays the fields out:
class SignupForm extends StatefulWidget {
const SignupForm({super.key});
@override
State<SignupForm> createState() => _SignupFormState();
}
class _SignupFormState extends State<SignupForm> {
final _form = SignupFormController();
@override
void dispose() {
_form.dispose(); // disposes the registered fields too
super.dispose();
}
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
flutter-forms@leancode-ai-plugins is listed by leancodepl/ai-plugins — review the source before installing
npx claudepluginhub leancodepl/ai-plugins --plugin flutter-formsPlugins from other owners that cover similar ground