Skip to content

Input

Inputs allow users to enter text.

A basic text input field.

Input(
placeholder: 'Enter text...',
)

Inputs can have leading and trailing icons.

Input(
placeholder: 'Search...',
leading: Icon(PrimeIcons.magnify),
trailing: Icon(PrimeIcons.close),
)

Inputs can be used for passwords with obscureText.

Input(
placeholder: 'Password',
obscureText: true,
leading: Icon(PrimeIcons.lock),
trailing: Icon(PrimeIcons.viamFlutter),
)