djade007/loader_skeleton
एक फेसबुक और ट्विटर जैसा कार्ड लोडिंग शिमर स्केलेटन लाइब्रेरी।
- Stars
- 2
- Forks
- 3
- अंतिम पुश (UTC)
- 24 मई 2021
- प्रोजेक्ट स्थिति
- सक्रिय
भाषाएँDart
उपयोग की गई निर्भरताएँ
निर्भरता सूची 2 आइटम
- flutter
{"sdk":"flutter"} - flutter_testडेवलपमेंट
{"sdk":"flutter"}
मूल README
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
README खोलें / बंद करें
SkeletonLoader
A Facebook & Twitter Like Card Loading Shimmer Skeleton Library.
💻 Installation
In the dependencies: section of your pubspec.yaml, add the following line:
loader_skeleton: <latest_version>
❔ Usage
Light Theme
CardSkeleton
https://raw.githubusercontent.com/djade007/loader_skeleton/master/gifs/g1.gifimport 'package:loader_skeleton/loader_skeleton.dart';
//Widget
CardSkeleton(
isCircularImage: true,
isBottomLinesActive: true,
)
CardListSkeleton
https://raw.githubusercontent.com/djade007/loader_skeleton/master/gifs/g2.gifimport 'package:loader_skeleton/loader_skeleton.dart';
//Widget
CardListSkeleton(
isCircularImage: true,
isBottomLinesActive: true,
length: 10,
)
CardProfileSkeleton
https://raw.githubusercontent.com/djade007/loader_skeleton/master/gifs/g3.gifimport 'package:loader_skeleton/loader_skeleton.dart';
//Widget
CardProfileSkeleton(
isCircularImage: true,
isBottomLinesActive: true,
)
CardPageSkeleton
https://raw.githubusercontent.com/djade007/loader_skeleton/master/gifs/g4.gifimport 'package:loader_skeleton/loader_skeleton.dart';
//Widget
CardPageSkeleton(
totalLines: 5,
)
Dark Theme
To use dark theme in your app. Simply provide brightness to dark in your Material App Widget or use Theme Widget.
Enable Dark Theme
ThemeData(
brightness: Brightness.dark,
),
DarkCardSkeleton
https://raw.githubusercontent.com/djade007/loader_skeleton/master/gifs/g5.gifimport 'package:loader_skeleton/loader_skeleton.dart';
//Widget
DarkCardSkeleton(
isCircularImage: true,
isBottomLinesActive: true,
)
DarkCardListSkeleton
https://raw.githubusercontent.com/djade007/loader_skeleton/master/gifs/g6.gifimport 'package:loader_skeleton/loader_skeleton.dart';
//Widget
DarkCardListSkeleton(
isCircularImage: true,
isBottomLinesActive: true,
length: 10,
)
DarkCardProfileSkeleton
https://raw.githubusercontent.com/djade007/loader_skeleton/master/gifs/g7.gifimport 'package:loader_skeleton/loader_skeleton.dart';
//Widget
DarkCardProfileSkeleton(
isCircularImage: true,
isBottomLinesActive: true,
)
DarkCardPageSkeleton
https://raw.githubusercontent.com/djade007/loader_skeleton/master/gifs/g8.gifimport 'package:loader_skeleton/loader_skeleton.dart';
//Widget
DarkCardPageSkeleton(
totalLines: 5,
)
👍 How to Contribute
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
Getting Started
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.