badjio / skeletons

A Flutter package for building custom skeleton widgets to mimic the page's layout while loading.
BSD 3-Clause "New" or "Revised" License
73 stars 88 forks source link

Issue in given example #2

Open sayyedmuzammil opened 2 years ago

sayyedmuzammil commented 2 years ago
Skeleton( 
              isLoading: controller.isDataLoading.value, 
              // shimmerGradient: SkeletonTheme,
              skeleton: ListView.builder(
  physics: NeverScrollableScrollPhysics(),
  itemCount: 5,
  itemBuilder: (context, index) => Padding(
    padding: const EdgeInsets.all(8.0),
    child:  SkeletonAvatar(
                style: SkeletonAvatarStyle(
                    shape: BoxShape.circle, width: 50, height: 50),
              ),
  ),
),
), 

in SkeletonAvatar widget is wrapped with container in the given example so it can't get the actual result of circular avatar.