ExpressiveFilledButton.tonal constructor

const ExpressiveFilledButton.tonal(
  1. String label, {
  2. VoidCallback? onPressed,
  3. ExpressiveComponentThemeData? style,
  4. bool busy = false,
  5. ExpressiveButtonSize size = ExpressiveButtonSize.small,
  6. ExpressiveButtonShape shape = ExpressiveButtonShape.round,
  7. IconData? icon,
  8. Widget? leading,
  9. IconData? trailingIcon,
  10. Widget? child,
  11. bool expand = false,
  12. String? semanticLabel,
  13. FocusNode? focusNode,
  14. bool autofocus = false,
  15. Key? key,
})

A tonal button (Compose FilledTonalButton, Flutter's FilledButton.tonal).

Implementation

const ExpressiveFilledButton.tonal(
  super.label, {
  super.onPressed,
  super.style,
  super.busy = false,
  super.size = ExpressiveButtonSize.small,
  super.shape = ExpressiveButtonShape.round,
  super.icon,
  super.leading,
  super.trailingIcon,
  super.child,
  super.expand = false,
  super.semanticLabel,
  super.focusNode,
  super.autofocus = false,
  super.key,
}) : super._(kind: ExpressiveButtonKind.tonal);