custom_effects_shimmer_loading 0.0.3
custom_effects_shimmer_loading: ^0.0.3 copied to clipboard
Flutter uchun Shimmer Loading effekt yaratish uchun package.
example/main.dart
import 'package:custom_effects_shimmer_loading/custom_effects_shimmer_loading.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text("Shimmer Loading Example")),
body: Center(
child: ShimmerContainer(
child: Container(
width: 200,
height: 100,
decoration: BoxDecoration(
color: Colors.grey[300],
borderRadius: BorderRadius.circular(10),
),
),
),
),
),
);
}
}