josiahsrc / dough

This package provides some widgets you can use to create a smooshy UI.
MIT License
703 stars 28 forks source link

Sensors introduces platform dependency #15

Closed josiahsrc closed 7 months ago

josiahsrc commented 4 years ago

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

josiahsrc commented 4 years ago

An alternative to this would be to have two packages

  1. Platform independent library, Dough, which has all widgets and has not platform dependencies
  2. Platform dependent library, Mobile Dough, which uses sensors
cyberpwnn commented 9 months ago

Or if your lazy and dont even need gyrodough https://pub.dev/packages/senseless_dough

josiahsrc commented 7 months ago

New sensors package here: https://pub.dev/packages/dough_sensors