Sunday, March 26, 2023

PKSkeleton-A Facebook Twitter Like Card Loading Shimmer Skeleton Library

A Facebook & Twitter Like Card Loading Shimmer Skeleton Library.

You can see that Skeletons are everywhere in todays applications like in facebook,youtube,twitter,linkdin etc. But it is actually not so bad and quite easy to implement.

Follow this tutorial to change your progress bar into awesome Skeleton screen without any efforts.
The source code is 100% Dart, and everything resides in the /lib folder.

Installation

In the dependencies section in pubspec.yaml, add the following line:

pk_skeleton: <latest_version>

How to use

Light Theme

PKCardSkeleton

import 'package:pk_skeleton/pk_skeleton.dart';
PKCardSkeleton(
  isCircularImage: true,
  isBottomLinesActive: true,
)

PKCardListSkeleton

import 'package:pk_skeleton/pk_skeleton.dart';
PKCardListSkeleton(
  isCircularImage: true,
  isBottomLinesActive: true,
  length: 10,
)

If you want to implement Skeleton in some other ways please follow the below url.