simulate 0.0.40 simulate: ^0.0.40 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 Flutter:
$ flutter pub add simulate
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
simulate: ^0.0.40
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:simulate/simulate.dart';