DocumentationFormButtonButton A button. API Reference PreviewCodeFButton( label: const Text('Button'), onPress: () {}, ); Usage FButton(...) FButton( label: const Text('Button'), onPress: () {}, ); FButton.raw(...) FButton.raw( child: const Text('Button'), onPress: () {}, ); Examples Appearance Primary PreviewCodeFButton( label: const Text('Button'), onPress: () {}, ); Secondary PreviewCodeFButton( label: const Text('Button'), style: FButtonStyle.secondary, onPress: () {}, ); Destructive PreviewCodeFButton( label: const Text('Button'), style: FButtonStyle.destructive, onPress: () {}, ); Outline PreviewCodeFButton( label: const Text('Button'), style: FButtonStyle.outline, onPress: () {}, ); Ghost PreviewCodeFButton( label: const Text('Button'), style: FButtonStyle.ghost, onPress: () {}, ); Content With Text and Icon PreviewCodeFButton( prefix: FIcon(icon: FAssets.icons.mail), label: const Text('Login with Email'), onPress: () {}, ), With Only Icon PreviewCodeFButton.icon( icon: FIcon(icon: FAssets.icons.chevronRight), onPress: () {}, ), With Button Spinner PreviewCodeFButton( prefix: const FButtonSpinner(), label: const Text('Please wait') onPress: null, ),ScaffoldCalendar