verysimplecontainer

Creator: coderz1093

Last updated:

0 purchases

verysimplecontainer Image
verysimplecontainer Images
Add to Cart

Description:

verysimplecontainer

Installation #


Add the latest version of package to your pubspec.yaml (and run dart pub get)
dependencies:
simple_container: ^0.0.1


Import the package and use it in your Flutter App


Import 'package:very_simple_container/simple_container';
Example #
There are a number of properties that you can modify:

width
height
title
subtitle
gradient (color1 and color2)





class SimpleScreen extends StatelessWidget {
const SimpleScreen({key? key}) : super(Key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: const SimpleContainer(
title: 'Hello World',
color1: Colors.lightGreenAccent,
color2: Colors.lightBlue,
subtitle: 'This is a new 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.