colorful_container_v1 0.0.1
colorful_container_v1: ^0.0.1 copied to clipboard
Colorful gradiant container with title and subtitle
This is the package of colorful gradiant container which helps to get less time consuming for users
Features #
- hieght
- width
- title
- subtitle
- gradiant(color1 and color2)
Getting started #
flutter pub add colorful_container
class MyHomePage extends StatelessWidget {
const MyHomePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Colorful Container'),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: const [
ColorfulContainer(
hieght: 150,
title: 'hello',
textColor: Colors.white,
subtitle: 'this is subtitle',
subtitleColor: Colors.white,
color1: Colors.amberAccent,
)
],
),
),
);
}
}