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