CustomOutlinedButton(- {Key? key,
- Widget? child,
- double? width,
- double? height,
- required String text,
- Function? onTap,
- Color baseColor = CustomColors.emerald,
- Color inactiveTextColor = CustomColors.cool_grey,
- Color inactiveBorderColor = CustomColors.white_five,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 9, vertical: 6),
- EdgeInsets margin = EdgeInsets.zero,
- double borderWidth = 1,
- bool isInactive = false,
- bool? isChecked,
- bool? disabled,
- double fontSize = 12.0,
- FontWeight fontWeight = FontWeight.w500,
- IconData? prefixIcon,
- Widget? prefixIconImage,
- double? prefixIconSize,
- IconData? suffixIcon,
- Widget? suffixIconImage,
- double? suffixIconSize}
)
Implementation
CustomOutlinedButton({
Key? key,
this.child,
this.width,
this.height,
required this.text,
this.onTap,
this.baseColor = CustomColors.emerald,
this.inactiveTextColor = CustomColors.cool_grey,
this.inactiveBorderColor = CustomColors.white_five,
this.padding = const EdgeInsets.symmetric(horizontal: 9, vertical: 6),
this.margin = EdgeInsets.zero,
this.borderWidth = 1,
this.isInactive = false,
this.isChecked,
this.disabled,
this.fontSize = 12.0,
this.fontWeight = FontWeight.w500,
this.prefixIcon,
this.prefixIconImage,
this.prefixIconSize,
this.suffixIcon,
this.suffixIconImage,
this.suffixIconSize,
}) : super(key: key);