title_widget 0.4.1 title_widget: ^0.4.1 copied to clipboard
A widget for visualizing a customizable title with glass effect, gradient, rounded corners or/and free shape.
Title Widget #
A widget for visualizing a customizable title with glass effect, gradient, rounded corners or/and free shape. Feel free to use it in your awesome projects.
Usage #
With Text #
final background = Image.asset('image.webp');
const title = RectGlassTitle(text: 'Forgotten Dreams');
return Stack(children: [background, title]);
With Widget (Icon) #
const icon = Icon(Icons.hiking, color: Colors.white);
final title = RectGlassTitle(widget: icon);
return Stack(children: [background, title]);
Welcome #
Requests and suggestions are warmly welcome.
This package is open-source, stable and well-tested. Development happens on GitHub. Feel free to report issues or create a pull-request there.
General questions are best asked on StackOverflow.
TODO #
- How to construct own
Clipper
s andEffect
s. - Add an option for fully customizable gradient.