Comments (5)
PR submitted:
#23
from bitsdojo_window.
As far as I can tell, it actually only fades on mouse-out, do you see that as well?
from bitsdojo_window.
Btw, turns out the issue was just that AnimatedContainer just can't tween from null
, a simple color: buttonContext.backgroundColor ?? Color(0x0),
seems to be all we need here.
[Edit] Actually that doesn't work quite right, but this does:
var fadeOutColor = getBackgroundColor(MouseState()..isMouseOver = true).withOpacity(0);
...
AnimatedContainer(
curve: Curves.easeOut,
duration: Duration(milliseconds: mouseState.isMouseOver ? 0 : 200),
color: buttonContext.backgroundColor ?? fadeOutColor,
child: iconWithPadding)
93WkRMW3yP.mp4
from bitsdojo_window.
As far as I can tell, it actually only fades on mouse-out, do you see that as well?
It's really hard to see. It might be a super quick fade-in, but the fade out is more prominent yes.
from bitsdojo_window.
Fixed by 1363fdd
from bitsdojo_window.
Related Issues (20)
- doWhenWindowReady never called on macOS Sonoma HOT 3
- Cmake Error: No target HOT 2
- Handle/Listen close button on macOs HOT 2
- Hide bar on video fullscreen HOT 1
- No target "bitsdojo_window_windows_v3_plugin" HOT 2
- `doWhenReady()` not doing when ready HOT 2
- ArgumentError (Invalid argument(s): Failed to lookup symbol 'bitsdojo_window_api': error code 127) HOT 1
- Is this possible to change dynamically/programmatically size of the window HOT 1
- padding into window impossible to delete
- Windows 11: flutter: bitsdojo_window is not initalized. HOT 1
- change from minimize to maximize issue HOT 2
- No window found when setup bitsdojo_window on macOS HOT 7
- Can you please upgrade your dependencies?
- Bitsdojo_window not compatible with WidgetBook
- Flutter macOS app won't run after adding bitsdojo_window: Secure coding warning HOT 1
- It print "invalid uninstantiatable type" when closing the window on Linux
- app_links package compatibility or documentation
- routes problem HOT 1
- linux window shows, then resizes, and centers once dart loads, ugly
- Snapping window doesnt change icon behaviour HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitsdojo_window.