width property

double get width

Retrieves the width of the media query size in the current context, equivalent to MediaQuery.of(context).size.width. Note: This value updates when the screen is resized, such as in a browser or desktop window. Example: double width = context.width;

Implementation

double get width => mediaQuerySize.width;