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

outdated

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,
          ),
        ),
        customActions: [
          ActionCard(
            icon: const Icon(Icons.print_rounded),
            title: 'Print to console',
            onTap: () => debugPrint('Print to console'),
          ),
        ],
        builder: (context) {
          return const SafeArea(
            child: Scaffold(
              body: Center(
                child: Text('DebugFriend'),
              ),
            ),
          );
        },
      ),
    );
  }
}
58
likes
0
pub points
14%
popularity

Publisher

verified publisherfrezycode.com

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

device_info_plus, flutter, lint, package_info_plus, path_provider

More

Packages that depend on debug_friend