sensor_shadows 0.1.2 copy "sensor_shadows: ^0.1.2" to clipboard
sensor_shadows: ^0.1.2 copied to clipboard

Accelerometer-driven shadows and lighting for tactile Flutter cards, buttons, and custom surfaces, with smoothing and reduced-motion support.

0.1.2 #

  • Add SensorShadows, an app-level wrapper for one shared controller across every route, dialog, and overlay.
  • Respect platform reduced-motion settings when the scope sits above MaterialApp and no MediaQuery exists yet.
  • Document Flutter's boundary for stock Material and arbitrary box shadows.

0.1.1 #

  • Fix surface lighting gradient on widgets.

0.1.0 #

  • Add SensorShadow, SensorShadowCard, and accessible SensorShadowButton.
  • Share one accelerometer subscription with SensorShadowScope.
  • Add configurable smoothing, sensitivity, axis rotation, and pose calibration.
  • Render directional highlights opposite moving cast shadows.
  • Pause sensor sampling in the background and respect reduced-motion settings.
  • Support manual tilt, injectable sensor streams, and neutral hardware fallbacks.
  • Include Android, iOS, and web example apps with interactive lighting controls.
  • Add API documentation, tests, MIT license, and release validation workflow.
0
likes
160
points
164
downloads

Documentation

API reference

Publisher

verified publisherpinz.dev

Weekly Downloads

Accelerometer-driven shadows and lighting for tactile Flutter cards, buttons, and custom surfaces, with smoothing and reduced-motion support.

Repository (GitHub)
View/report issues

Topics

#sensors #animation #shadows #widget #ui

License

MIT (license)

Dependencies

flutter, sensors_plus

More

Packages that depend on sensor_shadows