custom_continer 0.0.2 copy "custom_continer: ^0.0.2" to clipboard
custom_continer: ^0.0.2 copied to clipboard

Custom container

Custom Container Package #

Overview #

The Custom Container Package is a Flutter package that provides a highly flexible and customizable container widget. This widget allows developers to easily create containers with adjustable width, height, background color, and text styles. It's ideal for creating consistent UI components across your Flutter applications.

Features #

  • Customizable Size: Easily set the width and height of the container.
  • Flexible Styling: Change the container's background color and border radius.
  • Text Customization: Pass any text with custom styles, including font size, color, and weight.
  • Shadow Support: Add a shadow effect to enhance the container's appearance.
  • Reusability: Simplifies the creation of consistent UI elements throughout your app.

Getting Started #

To use the Custom Container Package in your Flutter project, add the following line to your pubspec.yaml file:

dependencies:
  custom_container_package: ^1.0.0

Sample Code

CustomContainer(
  text: "Hello, World!",
  width: 200,
  height: 100,
  // You can pass a custom gradient if needed
  containerGradient: LinearGradient(
    colors: [Colors.red, Colors.orange],
    begin: Alignment.topLeft,
    end: Alignment.bottomRight,
  ),
),


4
likes
120
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

Custom container

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on custom_continer