Comments (2)
Hi, have you been able to solve this problem? I'm facing same.
from flutter-spinning-wheel.
hello, you can put the wheelspinner into a Stack widget with a container on top of each other but container should be on top, and container must have transparent color so it basicly prevents any touches to a spinner directly.
Stack( fit: StackFit.expand, children: [ Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ SpinningWheel( Image.asset('assets/images/wheel-6-300.png'), width: 310, height: 310, initialSpinAngle: _generateRandomAngle(), spinResistance: 0.2, dividers: 6, canInteractWhileSpinning: false, onUpdate: _dividerController.add, onEnd: _dividerController.add, shouldStartOrStop: _wheelNotifier.stream, ), StreamBuilder( stream: _dividerController.stream, builder: (context, snapshot) => snapshot.hasData ? BasicScore(snapshot.data) : Container(), ), FancyButton( child: Text("çevir"), size: 64, color: Colors.deepPurple, onPressed: () { setState(() { _wheelNotifier.sink.add(_generateRandomVelocity()); }); }, ) ], ), Center( child: Container( margin: EdgeInsets.only(bottom: 60), width: 310, height: 310, color: Colors.transparent, ), ), ], ),
from flutter-spinning-wheel.
Related Issues (12)
- Add method to start / stop spinning wheel dynamically HOT 6
- Cómo evitar que la rueda gire manualmente: Resuelto
- Null-Safety HOT 1
- I tried to implement your in pub.dev null safety is not migrated in your dependency so it is giving error kindly tell me how to fix it. HOT 1
- Target of URI doesn't exist
- Spin with predefined result and priority HOT 1
- How to detect when spinner is stopped HOT 3
- How to start the spinner when button is clicked? HOT 6
- How to Spin with predefined result HOT 3
- How to prevent the wheel from spinning manually HOT 4
- Make wheel larger than screen and clickable
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 flutter-spinning-wheel.