Last updated:
0 purchases
materialcontainerview
Material container package lets you add a beautiful gradient container to your Flutter app.
Features #
Getting started #
There are a number of properties that you can modify:
height
width
title
subtitle
gradient (color1 and color2)
Usage #
class MaterialScreen extends StatelessWidget {
const MaterialScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: const MaterialScreenContainer(
title: 'Hello World',
color1: Colors.lightGreenAccent,
color2: Colors.lightBlue,
subtitle: 'This is a new package',
),
),
);
}
}
copied to clipboard
Additional information #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.