flutter_is_waldo 0.0.1+1
flutter_is_waldo: ^0.0.1+1 copied to clipboard

Flutter Android iOS

Provides an helper method to check if code is running in Waldo mode

flutter_is_waldo #

Provides an helper method to check if code is running in Waldo mode

Usage #

Have a look on installation page.

More details about why you should check if Waldo is running can be found on its website. Basically :

When running inside Waldo, your application is launched with environment variable INSIDE_WALDO set to the value '1'. When your application detects that this environment variable is set, it can trigger or skip specific logic.

import 'dart:async';
import 'package:flutter_is_waldo/flutter_is_waldo.dart';


print(await FlutterWaldo.isWaldo());  // true if running in waldo, false otherwise

You will find links to the API docs on the pub API reference page.

0
likes
100
pub points
0%
popularity

Provides an helper method to check if code is running in Waldo mode

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

hugo@ownweb.fr

License

MIT (LICENSE)

Dependencies

flutter, flutter_native_env

More

Packages that depend on flutter_is_waldo