Cover - Neat UI
Photo by Kelly Sikkema on Unsplash

License: MIT pub package

Widgets and utilities for Flutter, to help with UI. Feel free to use it in your awesome project.

Table of Contents

🚀 Getting started

Step 1: Add dependencies

dependencies:
  neat_ui: <version>

And that is all! You're ready to go.

🌟 Features

🗔 Widgets

➤ CenteringScrollView

CustomScrollView with centered children inside. Centering will apply only if content size is less than ScrollView size.

Usage:

final widget = CenteringScrollView(
    children: [
        Text('Heading'),
        Container(
            width: 100,
            height: 100,
            color: Colors.red,
        ),
    ],
);

⚙️ Utilities

➤ Color

  1. NeatColorExtension - extension on Color

    • convert color to greyscale;
    • darken/lighten color.

    Usage:

    final redColor = Colors.red;
    
    final greyScaleColor = redColor.greyscale();
    

Libraries

neat_ui