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

A highly customizable, reusable gradient container widget for Flutter apps.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:custom_containers/custom_gradient_containers.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text("Custom Containers Demo")),
        body: const Center(
          child: CustomContainer(
            height: 200,
            width: 300,
            title: "Hello World",
            subtitle: "This is a custom container",
            color1: Colors.purple,
            color2: Colors.blue,
          ),
        ),
      ),
    );
  }
}
1
likes
140
points
32
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A highly customizable, reusable gradient container widget for Flutter apps.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on custom_gradient_containers