my_package_with_shimmer 1.0.1 copy "my_package_with_shimmer: ^1.0.1" to clipboard
my_package_with_shimmer: ^1.0.1 copied to clipboard

Loyihalarda shimmer effectini qo'llash uchun chiqarilgan package

example/main.dart

import 'package:flutter/material.dart';
import 'package:my_package_with_shimmer/my_package_with_shimmer.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(title: const Text('Shimmer Example')),
        body: Center(
          child: CustomShimmer(
            child: Container(
              width: 200,
              height: 100,
              color: Colors.grey[300], // Shimmer effekti uchun orqa fon
              alignment: Alignment.center,
              child: const Text(
                'Shimmer Loading...',
                style: TextStyle(fontSize: 18, color: Colors.black54),
              ),
            ),
          ),
        ),
      ),
    );
  }
}
1
likes
160
points
14
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Loyihalarda shimmer effectini qo'llash uchun chiqarilgan package

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, shimmer

More

Packages that depend on my_package_with_shimmer