destincontainer 0.0.2
destincontainer: ^0.0.2 copied to clipboard
Destin container for flutter apps
DestinContainer #
DestinContainer is a Flutter package that provides a customizable and stylish container widget. It allows developers to quickly integrate fancy container designs into their projects, saving time and improving UI appearance.
Features #
- Customizable shapes, borders, and shadows for containers.
- Supports gradient backgrounds and box decorations.
- Easy to integrate with pre-defined styles for quick development.
- Flexible for both mobile and web Flutter projects.
Getting Started #
To use the DestinContainer package, follow these steps:
-
Add the package to your
pubspec.yamlfile:dependencies: destin_container: path: <local path or pub.dev> -
Import the package in your Dart file:
import 'package:destin_container/destin_container.dart';
Usage #
Hereโs a basic example of how to use DestinContainer:
import 'package:flutter/material.dart';
import 'package:destin_container/destin_container.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: DestinContainer(
width: 200,
height: 100,
borderRadius: 15,
gradientColors: [Colors.blue, Colors.green],
child: Center(
child: Text(
'Fancy Container',
style: TextStyle(color: Colors.white, fontSize: 18),
),
),
),
),
),
);
}
}
Example Output #
If your image is stored locally, add it to the project directory and reference it like this:

Make sure the path assets/images/fancy_container_image.jpg matches the actual image location and that you declare the asset in your pubspec.yaml file:
flutter:
assets:
- assets/images/fancy_container_image.jpg
Additional Information #
- Contributing: Contributions are welcome! Open a pull request or submit an issue for any bugs or enhancements.
- Issues: File bugs or feature requests in the GitHub repository.
- Support: If you have any questions, contact the package author.
Enjoy building fancy containers with DestinContainer! ๐