1

I am using google_maps_flutter: ^1.1.1

I need to find the height of a Widget and set padding according to this height.

Here is the picture link

Thierry
  • 7,775
  • 2
  • 15
  • 33

1 Answers1

1

See this: How to get height of a Widget?

And also you can use this package, https://pub.dev/packages/render_metrics combining with: https://pub.dev/packages/after_layout.

Second package is for callback after first layout build.

Akbar Pulatov
  • 2,955
  • 2
  • 16
  • 33