Skip to main content

cobalt_talker_flutter 0.2.0 copy "cobalt_talker_flutter: ^0.2.0" to clipboard
cobalt_talker_flutter: ^0.2.0 copied to clipboard

Dresses talker's log screen in the same palette as the Cobalt inspector, so the graph's events and its log read as one tool inside your app.

example/example.md

cobalt_talker_flutter example #

import 'package:cobalt_talker/cobalt_talker.dart';
import 'package:cobalt_talker_flutter/cobalt_talker_flutter.dart';
import 'package:talker/talker.dart';

final talker = Talker();

final scope = await CobaltApplication.start(
  root: const AppScope(),
  observers: [CobaltTalkerObserver(talker)],
);

// …and, from a debug menu:
Navigator.of(context).push(
  MaterialPageRoute<void>(builder: (_) => CobaltTalkerScreen(talker: talker)),
);

The screen takes its colours from CobaltInspectorTheme when one is above it, and from the application's own Theme when none is. A full example lives in examples/graph_events.

0
likes
0
points
1.57k
downloads

Publisher

unverified uploader

Weekly Downloads

Dresses talker's log screen in the same palette as the Cobalt inspector, so the graph's events and its log read as one tool inside your app.

Repository (GitHub)
View/report issues

Topics

#dependency-injection #logging #devtools #debugging

License

unknown (license)

Dependencies

cobalt_inspector, cobalt_talker, flutter, talker_flutter

More

Packages that depend on cobalt_talker_flutter