Text Fields
A text field lets the user enter text, either with hardware keyboard or with an onscreen keyboard.
Usage
FTextField(...)
FTextField(
enabled: true,
label: 'Email',
hint: '[email protected]',
footer: 'Enter your email associated with your Forui account.',
keyboardType: TextInputType.emailAddress,
textCapitalization: TextCapitalization.none,
);
FTextField.email(...)
FTextField.email(
label: 'Email',
hint: '[email protected]',
footer: 'Enter your email associated with your Forui account.',
);
FTextField.password(...)
FTextField.password(
label: 'Password',
footer: 'Your password must be at least 8 characters long.',
);
FTextField.multiline(...)
FTextField.multiline(
label: 'Description',
hint: 'Enter a description...',
footer: 'Enter a description of the item.',
);