mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 20:04:55 +00:00
37 lines
1.0 KiB
Dart
37 lines
1.0 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:syncrow_app/features/devices/view/widgets/devices_mode_tab.dart';
|
|
import 'package:syncrow_app/features/shared_widgets/text_widgets/title_medium.dart';
|
|
import 'package:syncrow_app/utils/context_extension.dart';
|
|
import 'package:syncrow_app/utils/resource_manager/constants.dart';
|
|
import 'package:syncrow_app/utils/resource_manager/strings_manager.dart';
|
|
|
|
class DevicesViewHeader extends StatelessWidget {
|
|
const DevicesViewHeader({
|
|
super.key,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Padding(
|
|
padding: const EdgeInsets.symmetric(
|
|
horizontal: Constants.defaultPadding,
|
|
),
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
TitleMedium(
|
|
text: StringsManager.devices,
|
|
style: context.titleMedium.copyWith(
|
|
fontSize: 25,
|
|
),
|
|
),
|
|
const DevicesModeTab(),
|
|
const SizedBox(
|
|
height: 20,
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|