mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 01:56:19 +00:00
41 lines
985 B
Dart
41 lines
985 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:syncrow_app/features/shared_widgets/default_button.dart';
|
|
import 'package:syncrow_app/generated/assets.dart';
|
|
|
|
class NoDevicesView extends StatelessWidget {
|
|
const NoDevicesView({
|
|
super.key,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
Image.asset(
|
|
Assets.imagesBoxEmpty,
|
|
opacity: const AlwaysStoppedAnimation(0.5),
|
|
scale: 1,
|
|
width: 140,
|
|
),
|
|
const SizedBox(height: 15),
|
|
const Text(
|
|
'No Devices',
|
|
style: TextStyle(
|
|
color: Colors.grey,
|
|
fontSize: 18,
|
|
),
|
|
),
|
|
const SizedBox(height: 15),
|
|
const DefaultButton(
|
|
child: Text(
|
|
'Add Device',
|
|
),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|