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

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
40
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, flutter_native_env

More

Packages that depend on flutter_is_waldo