BuildContextExtension extension

A set of extensions for the BuildContext class.

on

Methods

measureTextSize({required String text, TextStyle? textStyle}) Size

Available on BuildContext, provided by the BuildContextExtension extension

Measures the size of the given text with the DefaultTextStyle or given textStyle.