Files
syncrow-app/lib/features/devices/view/widgets/no_devices_view.dart
Mohammad Salameh 481fe1c0f3 replaced Gap Class with the appropriate SizedBox
removed the Gap dependency
2024-03-02 15:52:28 +03:00

39 lines
958 B
Dart

import 'package:flutter/material.dart';
import 'package:syncrow_app/features/shared_widgets/default_text_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 DefaultTextButton(
text: 'Add Device',
),
],
),
);
}
}