dough
dough copied to clipboard
Sensors introduces platform dependency
Sensors introduces platform dependency for android and iOS and does not include the mac/linux/windows platform. This is causing the package to lose pub points.
Find a way to support accelerometer functionality on mobile platforms (for GyroDough) while maintaining support for web/desktop platforms.
https://pub.dev/packages/dough/score
An alternative to this would be to have two packages
- Platform independent library,
Dough
, which has all widgets and has not platform dependencies - Platform dependent library,
Mobile Dough
, which uses sensors
Or if your lazy and dont even need gyrodough https://pub.dev/packages/senseless_dough
New sensors package here: https://pub.dev/packages/dough_sensors