device_preview_lego 1.0.0+1 device_preview_lego: ^1.0.0+1 copied to clipboard
lego that integrates the device_preview package
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add device_preview_lego
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
device_preview_lego: ^1.0.0+1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:device_preview_lego/main.dart';
import 'package:device_preview_lego/util/_/build_app/function/before_material_app/_.dart';
import 'package:device_preview_lego/util/_/build_app/function/before_material_app/device_preview_lego/_.dart';
import 'package:device_preview_lego/util/_/build_app/function/before_run_app/_.dart';
import 'package:device_preview_lego/util/_/build_app/function/before_run_app/device_preview_lego/_.dart';
import 'package:device_preview_lego/util/_/build_app/widget/material_app/_.dart';
import 'package:device_preview_lego/util/_/build_app/widget/material_app/device_preview_lego/_.dart';
import 'package:device_preview_lego/util/_/build_app/widget/my_app/_.dart';
import 'package:device_preview_lego/util/_/build_app/widget/my_app/device_preview_lego/_.dart';
import 'package:device_preview_lego/util/_/build_app/widget/run_app/_.dart';
import 'package:device_preview_lego/util/_/build_app/widget/run_app/device_preview_lego/_.dart';
import 'package:device_preview_lego/util/_/module_functions/device_preview_lego/_.dart';
import 'package:device_preview_lego/util/_/shared_params/_/material_app.dart';
import 'package:device_preview_lego/util/_/shared_params/_/start_app_params.dart';
import 'package:device_preview_lego/util/_/shared_params/device_preview_lego/_.dart';
import 'package:device_preview_lego/util/config/device_preview_lego/_.dart';
import 'package:device_preview_lego/widget_book/device_preview_lego/_/_.dart';