BtnView constructor
const
BtnView({
- Key? key,
- required dynamic onPress()?,
- required String? title,
- EdgeInsets? margin,
- BoxDecoration? decoration,
- TextStyle? textStyle,
- EdgeInsets? padding,
Implementation
const BtnView(
{Key? key,
required this.onPress,
required this.title,
this.margin,
this.decoration,
this.textStyle,
this.padding})
: super(key: key);