lego project pub package

netflix_main_view_lego

toss_intro_page_lego

Installation

  1. please enter the following command in the terminal to install the CLI:

    flutter pub global activate lego_cli
    
    • If this is your first time using pub global, Please refer to the documentation for more information.
  2. To add Lego to your project, enter the following command in the terminal at the root of your project:

    lego add netflix_main_view_lego
    
  3. run the following command to generate the widget:

    flutter run -d chrome lib/widget_book/netflix_main_view_lego/_/_.dart
    

Creating a New Widget Guide

If you want to create a new widget, please refer to the documentation here: Create a Widgetwidget.