simulate 0.0.32 simulate: ^0.0.32 copied to clipboard
Simulate application or add device mock on your app or your flutter project suppoer cross platform android ios , linux , macos, windows.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add simulate
With Flutter:
$ flutter pub add simulate
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
simulate: ^0.0.32
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:simulate/simulate.dart';