Hafeedpkl / colorful_container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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_v1
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,
            )
          ],
        ),
      ),
    );
  }
}

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 30.4%Language:CMake 21.5%Language:Shell 15.6%Language:C 8.8%Language:Objective-C 8.8%Language:Java 8.1%Language:C++ 4.7%Language:Swift 2.1%