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