fancy_containers: ^0.0.4
With this new release, you can now:
- Specify Text color using the
textcolor
property and Subtitle color usingsubtitlecolor
. - 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,
),
),
);