cool_custom_container 0.0.1 cool_custom_container: ^0.0.1 copied to clipboard
Custom Container.
Installation #
- add the package to your pubspec.yaml
dependencies:
cool_custom_container: ^0.0.1
- Import the package and use it in your flutter app
import 'package:cool_custom_container/cool_custom_container.dart';
Example #
You can customize miltiple properties
class CustomScreen extends StatelessWidget {
CustomScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: const CustomContainer(
title: "Hello World",
color1: Colors.green,
color2: Colors.blue,
)
)
);
}
}