mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 10:06:16 +00:00

Added the spaces models Added the rooms models Added the Spaces cubit Implemented the home dropdown functionality
60 lines
1.8 KiB
Dart
60 lines
1.8 KiB
Dart
import 'package:flutter/cupertino.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter/widgets.dart';
|
|
import 'package:syncrow_app/features/devices/view/widgets/devices_mode_tab.dart';
|
|
import 'package:syncrow_app/features/devices/view/widgets/switches.dart';
|
|
import 'package:syncrow_app/features/shared_widgets/text_widgets/title_medium.dart';
|
|
import 'package:syncrow_app/utils/resource_manager/constants.dart';
|
|
import 'package:syncrow_app/utils/resource_manager/strings_manager.dart';
|
|
|
|
class WizardPage extends StatelessWidget {
|
|
const WizardPage({
|
|
super.key,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return const Padding(
|
|
padding: EdgeInsets.symmetric(horizontal: Constants.defaultPadding),
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
Expanded(
|
|
flex: 3,
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
TitleMedium(
|
|
text: StringsManager.devices,
|
|
style: TextStyle(
|
|
fontSize: 32,
|
|
fontWeight: FontWeight.bold,
|
|
),
|
|
),
|
|
DevicesModeTab(),
|
|
],
|
|
),
|
|
),
|
|
Expanded(
|
|
flex: 11,
|
|
child: SingleChildScrollView(
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
TitleMedium(
|
|
text: StringsManager.wizard,
|
|
style: TextStyle(
|
|
fontSize: 28,
|
|
),
|
|
),
|
|
Switches(),
|
|
],
|
|
),
|
|
),
|
|
)
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|