theme property

PreviewTheme? theme
final

A callback to return Material and Cupertino theming data to be applied to the previewed Widget.

Note: this must be a reference to a static, public function defined as either a top-level function or static member in a class.

Implementation

final PreviewTheme? theme;