FrameInstance constructor

FrameInstance({
  1. required WidgetbookFrame frame,
})

Implementation

FrameInstance({
  required WidgetbookFrame frame,
}) : super(
        name: '$WidgetbookFrame',
        properties: [
          Property(
            key: 'name',
            instance: StringInstance.value(frame.name),
          ),
          Property(
            key: 'allowsDevices',
            instance: BooleanInstance.value(
              frame.allowsDevices,
            ),
          ),
        ],
      );