44
Add beautiful containers to your Flutter app
Fancy Containers package lets you add a beautiful gradient container to your Flutter app.
These can be used to:
Add the latest version of the package to your pubspec.yaml (and run
dart pub get
):dependencies:
fancy_containers: ^0.0.4
import 'package:fancy_containers/fancy_containers.dart';
There are a number of properties that you can modify:
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,
),
),
);

Find the package on pub.dev here.
44