mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 14:47:23 +00:00
27 lines
655 B
Dart
27 lines
655 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:syncrow_web/utils/color_manager.dart';
|
|
import 'package:syncrow_web/utils/extension/build_context_x.dart';
|
|
|
|
class EmptySearchResultWidget extends StatelessWidget {
|
|
const EmptySearchResultWidget({
|
|
this.message = 'No results found',
|
|
super.key,
|
|
});
|
|
|
|
final String message;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: Text(
|
|
message,
|
|
textAlign: TextAlign.center,
|
|
style: context.textTheme.bodySmall?.copyWith(
|
|
color: ColorsManager.lightGreyColor,
|
|
fontWeight: FontWeight.w400,
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|