style property

  1. @override
ButtonStyle style
override

The ButtonStyle to be applied to the button widget

Implementation

@override
get style => ButtonStyle(
      borderRadius: const BorderRadius.all(Radius.circular(8)),
      padding: const EdgeInsets.symmetric(horizontal: 16),
      height: 44.0,
      iconSize: 18.0,
      foregroundSpacing: 8.0,
      foregroundStyle: textTheme.labelLarge?.copyWith(height: 1),
      borderColor: colorTheme.outline,
      shadowColor: colorTheme.shadow,
    ).merge(super.style);