Textura 🎨
A Flutter package that beautifies your widgets with a variety of advanced textures. Wrap any widget in Textura to apply a stunning background texture, choosing from a diverse and unique collection of designs.
🌟 Features
- Vast Collection: Choose from an extensive list of textures such as asphalt, camo, denim, marble, and more.
- Ease of Use: Simply wrap your widget with
Texturaand select a texture. - Custom Render Objects: Advanced implementation using custom render objects for fine-grained control over the painting process.
🎨 Available Textures
- asphalt
- brick_wall
- bubble
- camo
- canvas
- celtic_knots
- chequered
- chessboard
- circuitry
- city_maps
- clouds
- concrete
- constellations
- denim
- dna
- fabric_texture
- foam
- furry
- galaxy
- game_pixels
- glitch
- graffiti
- granite
- graph_paper
- grass
- greek_keys
- grid
- holographic
- honeycomb
- leather
- leaves
- leopard
- linen
- marble
- metal_texture
- mosaic
- mud
- music_sheet
- newsprint
- paper
- perforated_metal
- roadways
- rough_tile
- rubber
- rusted_metal
- sand
- silk
- solar_system
- spider_web
- spirals
- star
- steel
- suede
- sunset
- train_tracks
- water
- wood_grain
- zebra
Installation 💻
❗ In order to start using Textura you must have the Flutter SDK installed on your machine.
Install via flutter pub add:
dart pub add textura
Import the Package:
import 'package:textura/textura.dart';
Wrap Your Widget:
Textura(
textureType: TextureType.asphalt,
child: YourWidget(),
)
🌈 Examples
Here are a few examples of how you can use Textura to enhance your widgets:
Asphalt Texture
Textura(
textureType: TextureType.asphalt,
child: YourWidget(),
)
Bubble Texture
Textura(
textureType: TextureType.asphalt,
child: YourWidget(),
)
Continuous Integration 🤖
Textura comes with a built-in GitHub Actions workflow powered by Very Good Workflows but you can also add your preferred CI/CD solution.
Out of the box, on each pull request and push, the CI formats, lints, and tests the code. This ensures the code remains consistent and behaves correctly as you add functionality or make changes. The project uses Very Good Analysis for a strict set of analysis options used by our team. Code coverage is enforced using the Very Good Workflows.
Libraries
- textura
- My new Flutter package