ContinueButton method
Implementation
ContinueButton(BuildContext context) {
return GestureDetector(
onTap: _handleContinueTap(context),
child: Container(
height: 4.5.h,
width: fromPage == 'medicine_place_order' ? 36.w : 30.w,
decoration: BoxDecoration(
color: _getButtonColor(),
borderRadius: BorderRadius.all(Radius.circular(8)),
),
child: Center(
child: CommonTextNunito(
label:
fromPage == 'medicine_place_order' ? 'PLACE ORDER' : 'CONTINUE',
colorT: Colors.white,
fontw8: FontWeight.w700,
size: 11.sp,
),
),
),
);
}