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.
- 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
Textura
and select a texture. - Custom Render Objects: Advanced implementation using custom render objects for fine-grained control over the painting process.
- 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
β In order to start using Textura you must have the Flutter SDK installed on your machine.
dart pub add textura
import 'package:textura/textura.dart';
Textura(
textureType: TextureType.asphalt,
child: YourWidget(),
)
Here are a few examples of how you can use Textura to enhance your widgets:
Textura(
textureType: TextureType.asphalt,
child: YourWidget(),
)
Textura(
textureType: TextureType.asphalt,
child: YourWidget(),
)
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.