motor 1.0.0-dev.0 copy "motor: ^1.0.0-dev.0" to clipboard
motor: ^1.0.0-dev.0 copied to clipboard

A unified motion system for Flutter - physics-based springs and duration-based curves under one API.

1.0.0-dev.0 #

Initial release of Motor - a unified motion system for Flutter.

Features 🎯 #

  • Unified Motion API - One consistent interface for springs, curves, and custom motions
  • Physics & Duration Based - Choose between spring physics or traditional duration/curve animations
  • Apple Design System - Built-in CupertinoMotion presets matching iOS animations
  • Multi-dimensional - Animate complex types like Offset, Size, and Rect with independent physics per dimension
  • Interactive Widgets - Motion-driven draggable widgets with natural return animations
  • Flutter Integration - Works seamlessly with existing Flutter animation patterns

Core Components #

  • Motion System: Motion, Spring, DurationAndCurve, CupertinoMotion
  • Widgets: SingleMotionBuilder, MotionBuilder, MotionDraggable
  • Controllers: MotionController, SingleMotionController, BoundedMotionController
  • Converters: MotionConverter, OffsetMotionConverter, SizeMotionConverter, RectMotionConverter, AlignmentMotionConverter
  • Utilities: SpringCurve, SpringDescriptionExtension

CupertinoMotion Presets #

  • CupertinoMotion.standard - Default iOS spring with smooth motion
  • CupertinoMotion.smooth - Smooth spring animation with no bounce
  • CupertinoMotion.bouncy - Spring with higher bounce for playful interactions
  • CupertinoMotion.snappy - Snappy spring with small bounce that feels responsive
  • CupertinoMotion.interactive - Interactive spring with lower response for user-driven animations
187
likes
0
points
21.9k
downloads

Publisher

verified publisherwhynotmake.it

Weekly Downloads

A unified motion system for Flutter - physics-based springs and duration-based curves under one API.

Homepage
Repository (GitHub)
View/report issues

Topics

#animation #motion #physics #spring #curve

License

unknown (license)

Dependencies

flutter, meta

More

Packages that depend on motor