LordOlumide / textura

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. πŸ‘€

License:MIT License


Languages

Language:Dart 63.4%Language:C++ 18.0%Language:CMake 14.6%Language:HTML 1.4%Language:Swift 1.3%Language:C 1.1%Language:Kotlin 0.1%Language:Objective-C 0.0%