mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
@@ -27,11 +27,11 @@ class _AddImageState extends State<AddImage> {
|
||||
var state = (hovered, tappedDown);
|
||||
return switch (state) {
|
||||
// tapped down state
|
||||
(_, true) => MarketplaceTheme.secondary.withOpacity(.7),
|
||||
(_, true) => MarketplaceTheme.secondary.withAlpha(179),
|
||||
// hovered
|
||||
(true, _) => MarketplaceTheme.secondary.withOpacity(.3),
|
||||
(true, _) => MarketplaceTheme.secondary.withAlpha(77),
|
||||
// base color
|
||||
(_, _) => MarketplaceTheme.secondary.withOpacity(.3),
|
||||
(_, _) => MarketplaceTheme.secondary.withAlpha(77),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user