withUpdateDebugControls method
Wraps this widget with debug controls if in debug mode
Implementation
Widget withUpdateDebugControls() {
// Only show in debug mode
bool isDebug = false;
assert(isDebug = true); // This assignment only happens in debug mode
if (!isDebug) return this;
return Column(
children: [
const AppUpdateDebugWidget(),
Expanded(child: this),
],
);
}