You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
666 B
22 lines
666 B
import 'package:responsive_builder/responsive_builder.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:smartfit_app_mobile/view/main_tab/mobile/mobile_main_tab_view.dart';
|
|
import 'package:smartfit_app_mobile/view/main_tab/web/web_main_tab_view.dart';
|
|
|
|
class MainTabView extends StatefulWidget {
|
|
const MainTabView({super.key});
|
|
|
|
@override
|
|
State<MainTabView> createState() => _MainTabViewState();
|
|
}
|
|
|
|
class _MainTabViewState extends State<MainTabView> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return ScreenTypeLayout.builder(
|
|
mobile: (_) => const MobileMainTabView(),
|
|
desktop: (_) => const WebMainTabView(),
|
|
);
|
|
}
|
|
}
|