initialize static method
Initializes Chucker configuration.
Call this before runApp() to ensure Chucker is properly
configured during Flutter app startup.
Parameters:
-
showOnReleaseDetermines whether the Chucker UI should be accessible in release builds. Set totrueto enable Chucker in release mode. -
showNotificationControls whether Chucker should display the floating notification overlay that allows opening the Chucker inspector.
Example:
ShakeChuckerConfigs.setup(
showOnRelease: false,
showNotification: true,
);
Implementation
static void initialize({
required bool showOnRelease,
required bool showNotification,
}) {
ChuckerFlutter.showOnRelease = showOnRelease;
ChuckerFlutter.showNotification = showNotification;
}