text_in_shap

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

text in shap

text_in_shap #
How To Use "text_in_shap" You Can Just Call Widget Text Shape And Boom put Text You Want To Your Shape.
Getting Started #
Add To your pubspec.yaml File
text_in_shap: <Current Version>
copied to clipboard
Then
Import #
import 'package:text_in_shap/TextInShap/drawer_shapes.dart';
import 'package:text_in_shap/text_shape.dart';
copied to clipboard
Just Call Widget "TextShape" And Add You Customized Attributes
TextShape(text,type,letterSpacing,size, strokeWidth,textStyle,shapeColor );
copied to clipboard
Example
TextShape(text: "text", type: DrawerShapes.downWave, textStyle: TextStyle()),
copied to clipboard
To Select Some Shape
just spec type like
TextShape(text: "text", type: DrawerShapes.downWave//here , textStyle: TextStyle()),
copied to clipboard
Shape List
type: DrawerShapes.upWave, // Wave up
type: DrawerShapes.downWave, // Wave Down
type: DrawerShapes.heart, // Heart Shape
type: DrawerShapes.star5, // Star with 5 Edges
type: DrawerShapes.star6, // Star with 6 Edges
type: DrawerShapes.star7, // Star with 7 Edges
type: DrawerShapes.star8, // Star with 8 Edges
type: DrawerShapes.triangle, // Triangle Shape
type: DrawerShapes.diamond, // diamond Shape
type: DrawerShapes.pentagon, // pentagon Shape
type: DrawerShapes.hexagon, // hexagon Shape
type: DrawerShapes.octagon, // octagon Shape
type: DrawerShapes.decagon, // decagon Shape
type: DrawerShapes.dodecagon, //dodecagon Shape
copied to clipboard
To Customize Some Font
TextShape(text: "text", type: DrawerShapes.downWave , textStyle: TextStyle( fontSize: 40, foreground: Paint() ..shader = ui.Gradient.linear( const Offset(0, 20), const Offset(150, 20), <Color>[ Colors.red, Colors.yellow, ], )//example Font With Some Gradient),
copied to clipboard
**
Result Will Be #
**
Nice Shape With Text Like This

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.