StockholmButton constructor
const
StockholmButton({
- Key? key,
- required VoidCallback? onPressed,
- required Widget child,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 12),
- bool large = false,
- bool important = false,
- 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);