debugButton static method
Implementation
static Widget debugButton(BuildContext context) {
if (!debugMode) return SizedBox.shrink();
return Positioned(
right: 16,
bottom: 16,
child: FloatingActionButton.small(
backgroundColor: Colors.red.withOpacity(0.7),
child: Icon(Icons.bug_report, size: 20),
onPressed: () => showLogsDialog(context),
),
);
}