Initial Flutter booru app

This commit is contained in:
2026-05-23 11:46:52 +03:00
commit 63da741295
187 changed files with 24113 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import 'package:flutter/material.dart';
import 'package:shimmer/shimmer.dart';
class LoadingSkeleton extends StatelessWidget {
const LoadingSkeleton({this.height = 220, super.key});
final double height;
@override
Widget build(BuildContext context) {
final base = Theme.of(context).colorScheme.surfaceContainerHighest;
final highlight = Theme.of(context).colorScheme.surface;
return Shimmer.fromColors(
baseColor: base,
highlightColor: highlight,
child: Container(
height: height,
decoration: BoxDecoration(
color: base,
borderRadius: BorderRadius.circular(8),
),
),
);
}
}