center_body 1.0.0 copy "center_body: ^1.0.0" to clipboard
center_body: ^1.0.0 copied to clipboard

A simple centered body with an icon and or message

Features #

  • A basic widget with a message and icon for the center of a scaffold
  • Typically used for quickly showing that there is "nome" of some type of list view

Usage #

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

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

  @override
  Widget build(BuildContext context) => const Scaffold(
    body: CenterBody(
        message: "No Projects", 
        icon: Icons.work_off_rounded
    ),
  );
}
1
likes
130
points
17
downloads

Publisher

verified publisherarcane.art

Weekly Downloads

A simple centered body with an icon and or message

Repository (GitHub)

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on center_body