adipoli_container

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

adipoli container

AdiPoli Containers #
AdiPoli container package lets you add a beutiful gradient container to your flutter products .
Installation #

Add the latest version of package to your pubspec.yaml (and run 'dart pub get');

dependencies:
adipoli_container : ^0.0.1

Import 'import 'package:adipoli_container/adipoli_container.dart';

Example #
There are a number of propreties that you can modify:

height,
padding,
subtitle,
colorStart,
title,
colorEnd,
width,
radius






class SampleScreen extends StatelessWidget {
const SampleScreen({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
return const Scaffold(
body: Center(
child: AdiPoliContainer(
height: 100,
width: 400,
radius: 20,
title: Text('Hello World',
style: TextStyle(
color: Colors.blue,
fontSize: 20,
fontWeight: FontWeight.w800
),
),
subtitle: Text('This is a new package',
style: TextStyle(
color: Colors.blue,
fontSize: 20,
fontWeight: FontWeight.w800
),
),
colorStart: Colors.white,
colorEnd: Colors.black,
padding: EdgeInsets.symmetric(horizontal: 20,vertical: 20)
),
),
);
}
}
copied to clipboard






Next Goals #
-[x] Add onTap for functions.
Now, you can specify the onTap and specify a function.
-[x] Change font and color style for text.
Chanege color by specifying 'textcolor' and 'subtitlecolor' propretirs.
-[] Add more conatiner to the package.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.