#9-Patch #ninepatch
what is A 9 patch image ? is a regular png (.PNG) image which is needful for developers where they require to wrap any content within a background image without pixelating the background image. Usually background images have a fixed height and width, but sometimes we may require background images which does not pixelate though stretched, this now becomes a challenge with regular PNG images.
example for this images
![image 2 for example]](https://i.ibb.co/ZVq0BkT/orange-9.png)
1- This will add a line like this to your package's pubspec.yaml
dependencies:
ninepatch_image: ^0.0.4
NinePatchImage( imageProvider: AssetImage("assets/orange.9.png"),
child: Text( "Lorem Ipsum is simply dummy text of the printing "))
- Stretchable area
- Padding box
- muilti point Stretchable
Thank you for considering contributing to WidGen! Feel free to contribute in any way you want.
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
For any inquiries or clarifications, you can contact me via e-mail. Just send an email to [email protected].