Skip to Content
Forui 0.12.0 is released 🎉
DocumentationFormButton

Button

A button.

CLI

To generate and customize this style:

dart run forui style create button

Usage

FButton(...)

FButton( style: FButtonStyle(...), intrinsicWidth:true, onPress: () {}, child: const Text('Button'), );

FButton.raw(...)

FButton.raw( style: FButtonStyle(...), onPress: () {}, child: const Text('Button'), );

Examples

Appearance

Primary

Secondary

Destructive

Outline

Ghost

Content

With Text and Icon

With Only Icon

With Circular Progress

Last updated on