final
This commit is contained in:
@@ -10,7 +10,7 @@ import '../widgets/mobile/mobile_pay_now.dart';
|
||||
class PayNow extends StatelessWidget {
|
||||
final int orderId;
|
||||
|
||||
const PayNow(this.orderId, {Key key}) :
|
||||
const PayNow(this.orderId, {Key? key}) :
|
||||
super(key: key);
|
||||
|
||||
|
||||
@@ -20,10 +20,10 @@ class PayNow extends StatelessWidget {
|
||||
|
||||
return ResponsiveBuilder(
|
||||
builder: (context, sizingInformation) =>
|
||||
ScreenTypeLayout(
|
||||
mobile: MobilePayNow(orderId,),
|
||||
tablet: DesktopPayNow(orderId,),
|
||||
desktop: DesktopPayNow(orderId,),
|
||||
ScreenTypeLayout.builder(
|
||||
mobile: (context) => MobilePayNow(orderId,),
|
||||
tablet: (context) => DesktopPayNow(orderId,),
|
||||
desktop: (context) => DesktopPayNow(orderId,),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user