Skip to content

Yczar/textura

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Textura 🎨

style: very good analysis Powered by Mason License: MIT

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 Textura and 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.



About

Your friendly Flutter companion that wraps your widgets in a cozy blanket of beautiful textures. πŸ‘€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published