AdaptiveButton.filled constructor
const
AdaptiveButton.filled({
- Key? key,
- required String text,
- required VoidCallback onPressed,
- EdgeInsetsGeometry? padding,
- Color? backgroundColor,
Creates a filled adaptive button.
Implementation
const AdaptiveButton.filled({
super.key,
required this.text,
required this.onPressed,
this.padding,
this.backgroundColor,
}) : filled = true;