Gradient Border Container, or you could say Gradient Border Widget.
A customizable Flutter widget that wraps any child widget with a smooth gradient border. It allows you to define the border radius, border width, gradient style, padding, and background color of the content area. Perfect for adding a stylish and modern touch to your UI elements.
Some UI Example
Features
Customizable appearance Gradient border container Gradient border widget
Usage
Short and useful examples for package users.
GradientBorderContainer(
content: Text(
'Hello, World!',
style: TextStyle(fontSize: 24, color: Colors.black),
),
borderGradient: LinearGradient(
colors: [Colors.blue, Colors.purple],
),
radius: 15.0, // Rounded corners
borderWidth: 3.0, // Border width
margin: EdgeInsets.all(20), // Outer margin
contentBackgroundColor: Colors.white, //Content widget background color
contentPadding: EdgeInsets.all(20), // Padding inside the content area
),