render_metrics 2.0.2 copy "render_metrics: ^2.0.2" to clipboard
render_metrics: ^2.0.2 copied to clipboard

Library for getting widget metrics. Uses RenderObject to get the size and position of widgets relative to the screen window, as well as the difference between widgets.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add render_metrics

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  render_metrics: ^2.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:render_metrics/render_metrics.dart';
116
likes
140
pub points
85%
popularity

Publisher

verified publishersurf.ru

Library for getting widget metrics. Uses RenderObject to get the size and position of widgets relative to the screen window, as well as the difference between widgets.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on render_metrics