Skip to content

fancy_containers: ^0.0.4

Compare
Choose a tag to compare
@adityathakurxd adityathakurxd released this 26 Jul 09:15
· 8 commits to main since this release

With this new release, you can now:

  • Specify Text color using the textcolor property and Subtitle color using subtitlecolor.
  • Added onTap (v0.0.3) for specifying functions.
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: FancyContainer(
          onTap: (){
            print("Hello World");
          },
          color1: Colors.lightGreenAccent,
          color2: Colors.lightBlue,
          title: 'Hello World',
          textcolor: Colors.white,
          subtitle: 'This is a new package',
          subtitlecolor: Colors.white,
        ),
      ),
    );