CustomFancyContainer CustomFancyContainer is a Flutter package that provides a customizable container widget with gradient backgrounds, perfect for creating attractive UI elements in your apps.
Features
Customizable gradient background with two colors Title and subtitle text with custom styling Flexible design for various use cases Easy integration into existing Flutter projects
Getting started
Getting started To start using CustomFancyContainer, add it to your pubspec.yaml file:
dependencies: custom_fancy_container: ^0.0.1
Then, run flutter pub get to fetch the package.
Usage
Here is a simple example of how to use CustomFancyContainer in your Flutter app:
class FancyScreen extends StatelessWidget {
const FancyScreen({Key? key}): super(key: key);
@override
Widget build(BuildContext context){
return Scaffold(
body:Center(
child: const CustomFancyContainer(
title: 'Hello World',
color1: Colors.lightGreenAccent,
color2: Colors.lightBlue,
subtitle: 'This is a new package',
),
),
);
}
}
Additional information
This package is developed by Muhammed Shalbin MP. For any questions or support, please feel free to reach out.