0 purchases
container made
description : it provide already made container where you can add two color as gradient color, title, subtitle.
Features #
in project there is customs made container where you just have to add same details.dart pub publish
already made Containers #
custom container package lets you add a beautiful gradient container to your Flutter app.
Installation #
Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
container_made : ^0.0.1
copied to clipboard
Import the package and use it in your Flutter App.
import 'package: containers_made/containers_made.dart';
copied to clipboard
Example #
There are a number of properties that you can modify:
height
width
title
subtitle
gradient (color1 and color2)
Getting started #
start when ever you want to use custom container
Usage #
there is already example in there
class uniqueContainer extends StatelessWidget {
const uniqueContainer({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const Scaffold(
body: Center(
child: ContainerMade(
title: 'Hello World',
subtitle: "This is new Package",
color1: Colors.white,
color2: Colors.black,
),
));
}
}
copied to clipboard
Next Goals #
✅
Add onTap for functions.
Now, you can specify the onTap and specify a function.
✅
Change font and color style for text.
Change color by specifying textcolor and subtitlecolor properties.
❌
Add more containers to the package.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.