text_in_shap 0.1.3+3 copy "text_in_shap: ^0.1.3+3" to clipboard
text_in_shap: ^0.1.3+3 copied to clipboard

Package To Put Text Inside Shape which can use it to put some text inside shape you want like heart ,wave ,etc ...

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>

Then

Import #

 import  'package:text_in_shap/TextInShap/drawer_shapes.dart';
   import 'package:text_in_shap/text_shape.dart';  

Just Call Widget "TextShape" And Add You Customized Attributes

 TextShape(text,type,letterSpacing,size, strokeWidth,textStyle,shapeColor );  

Example

 TextShape(text: "text",    type: DrawerShapes.downWave, textStyle: TextStyle()),  

To Select Some Shape just spec type like

TextShape(text: "text", type: DrawerShapes.downWave//here , textStyle: TextStyle()), 

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  

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),

**

Result Will Be #

**

Nice Shape With Text Like This
Screenshot_20240609_055005

4
likes
140
points
0
downloads

Publisher

verified publisherabdelrhmantolba.online

Weekly Downloads

Package To Put Text Inside Shape which can use it to put some text inside shape you want like heart ,wave ,etc ...

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

draw_on_path, flutter

More

Packages that depend on text_in_shap