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