debug_friend 1.0.1 copy "debug_friend: ^1.0.1" to clipboard
debug_friend: ^1.0.1 copied to clipboard

Flutter debug helper widget with device info, common and custom actions.

example/lib/main.dart

import 'package:debug_friend/debug_friend.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'DebugFriend',
      theme: ThemeData(primaryColor: Colors.black),
      home: DebugFriendView(
        icon: const SizedBox(
          width: 50,
          height: 50,
          child: Icon(
            Icons.bug_report,
            color: Colors.white,
            size: 34,
          ),
        ),
        theme: const DebugFriendTheme(),
        builder: (context) => const SafeArea(
          child: Scaffold(
            body: Center(
              child: Text('DebugFriend'),
            ),
          ),
        ),
      ),
    );
  }
}