mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
28 lines
757 B
Dart
28 lines
757 B
Dart
import 'package:flutter_undraw/flutter_undraw.dart';
|
|
import 'package:shadcn_flutter/shadcn_flutter.dart';
|
|
import 'package:shadcn_flutter/shadcn_flutter_extension.dart';
|
|
import 'package:spotube/extensions/context.dart';
|
|
|
|
class NotFound extends StatelessWidget {
|
|
const NotFound({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
Undraw(
|
|
illustration: UndrawIllustration.empty,
|
|
height: 200 * context.theme.scaling,
|
|
color: context.theme.colorScheme.primary,
|
|
),
|
|
const Gap(16),
|
|
Text(
|
|
context.l10n.nothing_found,
|
|
textAlign: TextAlign.center,
|
|
).muted().small()
|
|
],
|
|
);
|
|
}
|
|
}
|