Last updated:
0 purchases
real ruler
Ruler #
A ruler is a widget that displays a ruler with a given distance in cm or inches
Overview #
A ruler is a widget that displays a ruler with a given distance in cm or inches
Ruler.real create an in real life ruler equivalent to real cm or inches
Ruler.count(10.cm),
copied to clipboard
Ruler.count fit the given distance to the width
Ruler.count(10.cm),
copied to clipboard
Ruler.dynamic is used to display a ruler with a fixed width in pixels for notch
Ruler.dynamic(300.cm),
copied to clipboard
Double-sided ruler
DynamicDoubleSidedRuler(
cmWidth: 100,
child: Container(color: Colors.red, height: 100, width: 100),
);
copied to clipboard
Table of contents #
Image
Code
description
Ruler.count(3.cm),
copied to clipboard
Ruler.count fit the given distance to the width
Ruler.dynamic(300.cm)
copied to clipboard
Ruler.dynamic is used to display a ruler with a fixed width in pixels for notch
Ruler.count(1.cm)
copied to clipboard
Ruler.real create an in real life ruler equivalent to real cm or inches
Ruler.count(1.cm, notchColor: Colors.black)
copied to clipboard
Change color notches color
Ruler.count(1.cm, axis: Axis.vertical)
copied to clipboard
Change axis to vertical or horizontal
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.