yx_virtual_device 1.0.1
yx_virtual_device: ^1.0.1 copied to clipboard
A Flutter package that lets you simulate various device screens directly inside your running app. Easily test your responsive UI on the fly without the need for physical devices or constantly switchin [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add yx_virtual_deviceThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
yx_virtual_device: ^1.0.1Alternatively, 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:yx_virtual_device/yx_virtual_device.dart';