flame-engine / flame-engine/flame

Box Decoration for RectangleComponent

Open
#3,374 4 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
10.8k
Forks
1k
Avg merge
1d 20h
Merged PRs (30d)
21

Description

### Problem to solve

The ability to style a rectangular position component with radius for border, border radius, border color, background color, border shadow (blur, color and offset), etc. and maybe hover over color.

I think this would be very useful for a lot of people, although this feature is definitely not urgent as the desired result can already be achieved (albeit with a bit of redundant code).

### Proposal

Maybe a mixin on PositionComponent could make sense ?

### More information

https://discord.com/channels/509714518008528896/1309774265930879006/1309774265930879006

### Other

- [X] Are you interested in working on a PR for this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.