Line data Source code
1 : // Copyright 2023 The terCAD team. All rights reserved.
2 : // Use of this source code is governed by a CC BY-NC-ND 4.0 license that can be found in the LICENSE file.
3 :
4 : import 'package:app_finance/_classes/herald/app_locale.dart';
5 : import 'package:app_finance/_ext/build_context_ext.dart';
6 : import 'package:material_ui/material_ui.dart';
7 :
8 : class EmptyWidget extends StatelessWidget {
9 2 : const EmptyWidget({super.key});
10 :
11 0 : @override
12 : Widget build(BuildContext context) {
13 0 : return Container(
14 0 : color: context.colorScheme.onSurface.withValues(alpha: 0.1),
15 0 : child: Center(
16 0 : child: Text(
17 0 : AppLocale.labels.noChartData,
18 0 : style: context.textTheme.headlineSmall,
19 : ),
20 : ),
21 : );
22 : }
23 : }
|