Files
syncrow-app/lib/features/home/view/widgets/home_view_no_devices.dart
2024-02-17 16:27:27 +03:00

40 lines
992 B
Dart

import 'package:flutter/material.dart';
import 'package:gap/gap.dart';
import 'package:syncrow_app/features/shared_widgets/default_text_button.dart';
import 'package:syncrow_app/utils/resource_manager/assets_manager.dart';
class HomeViewNoDevices extends StatelessWidget {
const HomeViewNoDevices({
super.key,
});
@override
Widget build(BuildContext context) {
return Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Image.asset(
ImageManager.boxEmpty,
opacity: const AlwaysStoppedAnimation(0.5),
scale: 1,
width: 140,
),
const Gap(15),
const Text(
'No Devices',
style: TextStyle(
color: Colors.grey,
fontSize: 18,
),
),
const Gap(15),
const DefaultTextButton(
text: 'Add Device',
),
],
),
);
}
}