DPButton constructor
const
DPButton({
- Key? key,
- required VoidCallback onTap,
- BorderRadius radius = const BorderRadius.all(Radius.zero),
- Decoration decoration = const BoxDecoration(),
- required Widget child,
- bool isTapEffectEnabled = true,
Implementation
const DPButton({
super.key,
required this.onTap,
this.radius = const BorderRadius.all(Radius.zero),
this.decoration = const BoxDecoration(),
required this.child,
this.isTapEffectEnabled = true,
});