This commit is contained in:
2026-07-12 04:33:48 +08:00
parent f8a90ad305
commit e7ce0f7bae
151 changed files with 2765 additions and 2947 deletions

View File

@@ -5,18 +5,17 @@ import '../widgets/mobile/mobile_search_place.dart';
import 'package:responsive_builder/responsive_builder.dart';
class SearchPlace extends StatelessWidget {
final Key key;
final int businessId;
const SearchPlace(this.businessId, {this.key}) : super(key: key);
const SearchPlace(this.businessId, {Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return ResponsiveBuilder(
builder: (context, sizingInformation) =>
ScreenTypeLayout(
mobile: MobileSearchPlace(businessId),
tablet: DesktopSearchPlace(businessId),
desktop: DesktopSearchPlace(businessId),
ScreenTypeLayout.builder(
mobile: (context) => MobileSearchPlace(businessId),
tablet: (context) => DesktopSearchPlace(businessId),
desktop: (context) => DesktopSearchPlace(businessId),
),
);
}