32 lines
909 B
Dart
32 lines
909 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
import 'package:onufitness/constants/text_constant.dart';
|
|
|
|
Widget emptyChartWidget() {
|
|
return SizedBox(
|
|
height: 350.h,
|
|
child: Center(
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
Icon(Icons.pie_chart_outline, size: 64.w, color: Colors.grey[300]),
|
|
SizedBox(height: 16.h),
|
|
Text(
|
|
'No data available',
|
|
style: TextStyle(
|
|
fontSize: regularSizeText,
|
|
color: Colors.grey[600],
|
|
fontWeight: FontWeight.w500,
|
|
),
|
|
),
|
|
SizedBox(height: 8.h),
|
|
Text(
|
|
'Try selecting a different date range',
|
|
style: TextStyle(fontSize: smallSizeText, color: Colors.grey[500]),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|