StockholmButton constructor

const StockholmButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. required Widget child,
  4. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 12),
  5. bool large = false,
  6. bool important = false,
  7. bool enabled = true,
})

Implementation

const StockholmButton({
  Key? key,
  required this.onPressed,
  required this.child,
  this.padding = const EdgeInsets.symmetric(
    horizontal: 12,
  ),
  this.large = false,
  this.important = false,
  this.enabled = true,
}) : super(key: key);