mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-08 23:18:16 -07:00
chore: Improved performance for some widgets (#525)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
10bd34bb20
commit
07972ea5ee
16 changed files with 589 additions and 545 deletions
|
|
@ -175,8 +175,8 @@ class FocusButtonState extends State<FocusButton> {
|
|||
decoration: BoxDecoration(
|
||||
color: Theme.of(context)
|
||||
.colorScheme
|
||||
.primaryContainer
|
||||
.withValues(alpha: widget.darkOverlay ? 0.1 : 0),
|
||||
.surfaceContainerLowest
|
||||
.withValues(alpha: widget.darkOverlay ? 0.35 : 0),
|
||||
border: Border.all(width: 3, color: Theme.of(context).colorScheme.onPrimaryContainer),
|
||||
borderRadius: widget.borderRadius ?? FladderTheme.smallShape.borderRadius,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue