Add beautiful containers to your Flutter app

fancy_containers: ^0.0.4

Fancy Containers package lets you add a beautiful gradient container to your Flutter app.

These can be used to:

  • Share announcements,

Installation

  1. Add the latest version of the package to your pubspec.yaml (and rundart pub get):
dependencies:
fancy_containers: ^0.0.4

2. Import the package and use it in your Flutter App.

import 'package:fancy_containers/fancy_containers.dart';

Example

There are a number of properties that you can modify:

  • height
@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,
),
),
);

Output

FancyContainers Example

Find the package on pub.dev here.

Hi 👋 I am Aditya Thakur, a Flutter developer and YouTuber with 4K subscribers. I make videos on Flutter and Python. I also have an around 300 member community of devs on Discord. Join me on my journey!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store