easy_container 1.0.5 copy "easy_container: ^1.0.5" to clipboard
easy_container: ^1.0.5 copied to clipboard

An easy to use container for flutter with built in gesture detectors and a lot of customization.

example/lib/main.dart

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

void main() => runApp(_MainApp());

class _MainApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: SafeArea(
        child: Scaffold(
          body: Center(
            child: EasyContainer(
              height: 300,
              width: 300,
              padding: 20,
              elevation: 10,
              onTap: () => debugPrint("Container Tapped"),
              margin: 20,
              borderRadius: 20,
              color: Colors.red,
              child: const CircularProgressIndicator.adaptive(),
            ),
          ),
        ),
      ),
    );
  }
}
23
likes
160
points
266
downloads

Publisher

verified publisherrithik-dev.me

Weekly Downloads

An easy to use container for flutter with built in gesture detectors and a lot of customization.

Repository (GitHub)
View/report issues

Topics

#flutter #widget #gesture #container #card

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on easy_container