Comments (5)
Hi, how you fix it?
from flutter_polls.
@destbest94 Are you still facing this issue?
from flutter_polls.
I'm having the same problem
from flutter_polls.
hello
The following StateError was thrown building FlutterPolls(dirty, useState: true, useState: false, useState: false):
I'm having the same problem
from flutter_polls.
I had this issue too in version 0.1.5 when setting hasVoted = true and was able to fix it by populating the userVotedOptionId
field to be the id of the option that the voter has voted
/// If a user has already voted in this poll.
/// It is ignored if [hasVoted] is set to false or not set at all.
final String? userVotedOptionId;
from flutter_polls.
Related Issues (18)
- Should be added more description in `pubspec.yaml`
- TypeError HOT 12
- RRect argument contained a NaN value HOT 3
- RRect argument contained a NaN value HOT 4
- Working in Debug Mode, But not working in Prod (after hosting on netlify). HOT 1
- Should be added example
- Percent value must be a double between 0.0 and 1.0, but it's 1.3333333333333333 HOT 2
- Add voted poll options border field HOT 1
- Feature request: Load and saving data remotely HOT 1
- Remove decimal from poll result (eg . 16.3) how HOT 2
- Make the PollOption id type to String. HOT 2
- Bug: `userVotedOptionId` needs to have the `String`
- dependencies HOT 1
- setState HOT 1
- Revoting Feature HOT 1
- version 0.0.7 broke everything!! HOT 18
- Backend integration support ? 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 flutter_polls.