gradient_with_container

Last updated:

0 purchases

gradient_with_container Image
gradient_with_container Images
Add to Cart

Description:

gradient with container

Gradient container package lets you add a beautiful container to your Flutter app.
Features #
There are a number of properties that you can modify:

height
width
title
subtitle
gradient
color

Getting started #
Import the package and use it in your flutter app
import 'package:gradient_with_container/gradient_with_container.dart';
copied to clipboard
Usage #

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

@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: GradientContainerScreen(
title: 'Hello word',
subtitle: 'This is new container package',
color1: Colors.orange,
color2: Colors.red[200],
),
),
);
}
}

copied to clipboard
Additional information #


Add onTap for functions.
Now,you can specify the onTap and specify function.


Change font and color style for text.
Change color by specifying textcolor and 'subtitlecolor' properties.


Add more container 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.