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

A customizable gradient container widget for Flutter with title, subtitle, tap action, and styling support.

FancyContainer #

A customizable Flutter UI component that displays a stylish gradient container with optional title, subtitle, and tap interaction. Built using Flutter, it is suitable for mobile apps (Android & iOS). Supports full design flexibility through parameters like color, padding, and text styling.

pub.dev version license


✨ Features #

  • Gradient background with two customizable colors
  • Optional title and subtitle text
  • Custom padding and text styling support
  • Tap gesture with callback
  • Responsive layout for different screen sizes
  • Built-in shadow and rounded corners

🚀 Getting started #

  1. Add the dependency to your pubspec.yaml:
dependencies:
  fancy_container: ^1.0.0

import 'package:fancy_container/fancy_container.dart';


FancyContainer(
  title: 'Welcome',
  subtitle: 'Tap to explore',
  color1: Colors.deepPurple,
  color2: Colors.purpleAccent,
  onTap: () {
    print('Container tapped!');
  },
  textColor: Colors.white,
  subtitleColor: Colors.white70,
  titleStyle: TextStyle(fontSize: 22, fontWeight: FontWeight.w600),
  subtitleStyle: TextStyle(fontSize: 14),
);

1
likes
140
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A customizable gradient container widget for Flutter with title, subtitle, tap action, and styling support.

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on styles_containers