DefaultBtnWithLongPress constructor

const DefaultBtnWithLongPress({
  1. Key? key,
  2. required String title,
  3. required Function onTap,
  4. bool isBusy = false,
  5. double btnHeight = 40.0,
  6. required Function onLongPress,
  7. Color color = AppColor.colorPrimary,
})

Implementation

const DefaultBtnWithLongPress({super.key,required this.title,required this.onTap,this.isBusy = false,this.btnHeight = 40.0,required this.onLongPress,this.color = AppColor.colorPrimary});