flutter_content_placeholder library

A Flutter library for creating content skeletons or placeholders to be displayed while content is loading.

The flutter_content_placeholder library provides a customizable way to create placeholders for your content while data is being fetched or loaded asynchronously.

To use this library, simply import flutter_content_placeholder and utilize the ContentPlaceholder widget to create your content skeletons.

Example:

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

class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ContentPlaceholder(
        child: MyContentWidget(), // Your content widget
      ),
    );
  }
}

Classes

ContentPlaceholder
A widget that creates a placeholder for content.