widgetSize property
Size
get
widgetSize
Returns the size of the widget tied to this context.
Example: context.widgetSize
Implementation
Size get widgetSize => MediaQuery.of(this).size;
Returns the size of the widget tied to this context.
Example: context.widgetSize
Size get widgetSize => MediaQuery.of(this).size;