0 purchases
cute container
Cute Container #
You can add a beautiful gradient container with Title and Subtitle to your Flutter Project using this "cute_container" package.
Installation #
Add the latest version of this package to your pubspec.yaml (use "flutter pub add cute_container" and use "flutter pub get"); 2. Import the package and use it in your Flutter App. import 'package:cute_container/cute_container.dart';
Example #
There are a number of properties that you can modify:
width
height
title
subtitle
gradient (color1 and color2)
Usage #
class FancyScreen extends StatelessWidget {
const FancyScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: const CuteContainer(
title: 'Hello Flutter',
color1: Colors.lightGreenAccent,
color2: Colors.lightBlue,
subtitle: 'This is a new package',
),
),
);
}
}
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.