AppButton.primarySmall constructor
AppButton.primarySmall({
- required Widget child,
- Key? key,
- VoidCallback? onPressed,
- double? elevation,
- Widget? leftIcon,
- EdgeInsets? padding,
- Widget? rightIcon,
- Color? buttonColor,
- Color? foregroundColor,
- BorderSide? borderSide,
small size button
Implementation
AppButton.primarySmall({
required Widget child,
Key? key,
VoidCallback? onPressed,
double? elevation,
Widget? leftIcon,
EdgeInsets? padding,
Widget? rightIcon,
Color? buttonColor,
Color? foregroundColor,
BorderSide? borderSide,
}) : this._(
key: key,
onPressed: onPressed,
child: child,
elevation: elevation,
textStyle: _smallTextStyle,
padding: padding ?? _smallPadding,
leftIcon: leftIcon,
rightIcon: rightIcon,
buttonColor: buttonColor,
foregroundColor: foregroundColor,
borderSide: borderSide,
);