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.
21 lines
637 B
21 lines
637 B
import 'package:responsive_builder/responsive_builder.dart';
|
|
import 'package:smartfit_app_mobile/View/login/Mobile/android_login_view.dart';
|
|
import 'package:smartfit_app_mobile/View/login/web/web_login_view.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class LoginView extends StatefulWidget {
|
|
const LoginView({super.key});
|
|
|
|
@override
|
|
State<LoginView> createState() => _LoginViewState();
|
|
}
|
|
|
|
class _LoginViewState extends State<LoginView> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return ScreenTypeLayout.builder(
|
|
mobile: (_) => const MobileLoginView(),
|
|
desktop: (_) => const WebLoginView());
|
|
}
|
|
}
|