monkey_container 0.0.1 copy "monkey_container: ^0.0.1" to clipboard
monkey_container: ^0.0.1 copied to clipboard

A Customisable Container

Monkey Container

Monkey Container is a customizable Flutter widget that provides an easy-to-use, highly flexible container with additional styling options. It helps developers create beautiful UI components quickly.

Features

Customizable width, height, and padding.

Support for background colors, gradients, and images.

Rounded corners and shadow effects.

Clickable with onTap functionality.

Easy integration with existing Flutter widgets.

Getting Started

To use Monkey Container in your Flutter project, first, add it as a dependency in your pubspec.yaml file:

monkey_container: git: url: https://github.com/Developer-D-Ponmudi/monkeycontainer

Then, import it in your Dart file:

import 'package:monkey_container/monkey_container.dart';

Usage

Here’s a basic example of how to use the Monkey Container:

import 'package:flutter/material.dart'; import 'package:monkey_container/monkey_container.dart';

void main() { runApp(MyApp()); }

class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( appBar: AppBar(title: Text("Monkey Container Example")), body: Center( child: MonkeyContainer( width: 200, height: 100, backgroundColor: Colors.blueAccent, borderRadius: BorderRadius.circular(15), shadow: true, onTap: () { print("Monkey Container tapped!"); }, child: Center( child: Text( "Hello, Monkey!", style: TextStyle(color: Colors.white, fontSize: 18), ), ), ), ), ), ); } }

Additional Information

For more examples and detailed documentation, check out the GitHub repository.

How to Contribute

Fork the repository.

Create a feature branch.

Submit a pull request.

2
likes
120
points
8
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Customisable Container

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on monkey_container