destincontainer 0.0.2 copy "destincontainer: ^0.0.2" to clipboard
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:

  1. Add the package to your pubspec.yaml file:

    dependencies:
      destin_container:
        path: <local path or pub.dev>
    
  2. 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:

![Fancy Container Example](assets/images/fancy_container_example.png)

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! ๐Ÿš€

1
likes
120
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

Destin container for flutter apps

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on destincontainer