storybook_device_preview library

Classes

AndroidDevices
A set of Android devices.
Contents
ContentsPlugin
CurrentStory
CustomStorybook
DeviceFrame
Simulate a physical device and embedding a virtual screen into it.
DeviceFrameData
DeviceFramePlugin
Wraps each story into device frame.
DeviceFrameStyle
The device frame style only allows to update the keyboardStyle for now.
DeviceFrameTheme
The theme gives a style to all its descentant device frames.
DeviceIdentifier
A unique identifier that represents a device.
DeviceInfo
Info about a device and its frame.
DeviceKeyboardStyle
Devices
A list of common device specifications sorted by target platform.
IosDevices
A set of iOS devices.
KnobPanel
KnobsBuilder
Provides helper methods for creating knobs: control elements that can be used in stories to dynamically update its properties.
KnobsPlugin
LinuxDevices
MacOsDevices
A set of macOS devices.
Option<T>
Option for select knob.
Plugin<T>
Base class for custom plugins.
Story
Single story (page) in storybook.
Storybook
A collection of stories.
VirtualKeyboard
Display a simulated on screen keyboard at the bottom of a child widget.
WindowsDevices

Enums

DeviceType
A device form factor.

Constants

storybookPlugins → const List<DevicePreviewPlugin>

Properties

allPlugins Iterable<Plugin>
final

Typedefs

PluginSettingsBuilder<T> = Widget Function(BuildContext context, Story? story, T? data, void update(T?))
PluginStoryBuilder<T> = Widget Function(BuildContext context, Story story, Widget child, T? data)
StoryBuilder = Widget Function(BuildContext context, KnobsBuilder kb)
StoryWrapperBuilder = Widget Function(BuildContext context, Story story, Widget child)