Skip to Content
Forui 0.11.0 is released 🎉

Text Field

A text field lets the user enter text, either with a hardware keyboard or with an onscreen keyboard. It can also be used in a form.

Usage

FTextField(...)

FTextField( controller: _controller, // TextEditingController clearable: (value) => value.text.isNotEmpty, enabled: true, label: const Text('Email'), hint: 'john@doe.com', description: const Text('Enter your email associated with your Forui account.'), keyboardType: TextInputType.emailAddress, textCapitalization: TextCapitalization.none, maxLines: 1, );

Examples

States

Enabled

Disabled

Clearable

Presets

Email

Password

Multiline

Form

Last updated on