rat_widget

Module view

source
Expand description

A view allows scrolling of a Widget without builtin support for scrolling.

View and Viewport are the same in functionality.

The difference is that View works for Widgets and Viewport for StatefulWidgets.

Structsยง

  • View has its own size, and can contain a stateless widget that will be rendered to a view sized buffer. This buffer is then offset and written to the actual frame buffer.
  • State of the viewport.