mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 09:45:22 +00:00
two gang schedule
This commit is contained in:
51
lib/features/shared_widgets/empty_schedule.dart
Normal file
51
lib/features/shared_widgets/empty_schedule.dart
Normal file
@ -0,0 +1,51 @@
|
||||
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_svg/svg.dart';
|
||||
import 'package:syncrow_app/generated/assets.dart';
|
||||
import 'package:syncrow_app/utils/context_extension.dart';
|
||||
|
||||
class EmptySchedule extends StatelessWidget {
|
||||
const EmptySchedule({super.key});
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Center(child: Column(
|
||||
mainAxisAlignment:
|
||||
MainAxisAlignment.center,
|
||||
crossAxisAlignment:
|
||||
CrossAxisAlignment.center,
|
||||
children: [
|
||||
Center(
|
||||
child: SvgPicture.asset(
|
||||
height: 100,
|
||||
width: 100,
|
||||
Assets.emptySchedule),
|
||||
),
|
||||
Column(
|
||||
children: [
|
||||
Center(
|
||||
child: Text(
|
||||
'Please add',
|
||||
style: context.displaySmall
|
||||
.copyWith(
|
||||
color: const Color(
|
||||
0XFFD5D5D5),
|
||||
),
|
||||
),
|
||||
),
|
||||
Center(
|
||||
child: Text(
|
||||
'a new schedule',
|
||||
style: context.displaySmall
|
||||
.copyWith(
|
||||
color: const Color(
|
||||
0XFFD5D5D5),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user