Inherits: Event['Canvas']
Event emitted when a Canvas reports a new rendered size.
This event is delivered through [on_resize][flet.controls.core.canvas.Canvas.on_resize]
and carries the latest measured dimensions in logical pixels.
Properties
Properties
height
class-attribute
instance-attribute
height: float = field(metadata={'data_field': 'h'})
New height of the canvas.
width
class-attribute
instance-attribute
width: float = field(metadata={'data_field': 'w'})