pub package

device_preview_lego

lego that integrates the device_preview package.

Installation

  1. open terminal in the lego project root directory, enter the following command for install cli. and create a new lego project if you don't have one.
flutter pub global activate lego_cli
lego create
  1. in terminal, enter the following command for add lego to project.
lego add device_preview_lego

Usage

refer to the official document.