custom_ruler 1.0.0 copy "custom_ruler: ^1.0.0" to clipboard
custom_ruler: ^1.0.0 copied to clipboard

A highly customizable ruler/scale widget for Flutter with support for horizontal and vertical orientations, snapping, and custom styling.

Custom Ruler #

pub package License: MIT

A highly customizable ruler/scale widget for Flutter with support for horizontal and vertical orientations, snapping, and extensive styling options.

Custom Ruler Demo

Screenshots #

Features #

  • 📏 Horizontal & Vertical orientations
  • 🎯 Snap to tick marks with smooth animation
  • 🎨 Fully customizable colors, sizes, and intervals
  • 📱 Responsive - adapts to container size
  • High performance - uses CustomPainter with viewport culling
  • 🔧 Programmatic control - scroll to any value via GlobalKey

Installation #

Add to your pubspec.yaml:

dependencies:
  custom_ruler: ^1.0.0
7
likes
160
points
140
downloads
screenshot

Publisher

verified publisherthesanaullah.dev

Weekly Downloads

A highly customizable ruler/scale widget for Flutter with support for horizontal and vertical orientations, snapping, and custom styling.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on custom_ruler