sublime_log 1.0.0 copy "sublime_log: ^1.0.0" to clipboard
sublime_log: ^1.0.0 copied to clipboard

outdated

Dart package which manages the logs message, view or share to other.

sublime_log #

Flutter Community: sublime_log

pub package pub points sublime_log

Get current device information from within the Flutter application.

Platform Support #

Android iOS MacOS Web Linux Windows

Usage #

Import package:sublime_log/sublime_log.dart, and use the SublimeLog.log to log every information you want.

Example:

import 'package:sublime_log/sublime_log.dart';

final message = 'Log message';
SublimeLog.log(message: message, tag: 'Label');

To view all the logs or share it to other.

import 'package:sublime_log/sublime_log.dart';

showGeneralDialog(
  context: context,
  barrierDismissible: false,
  barrierLabel: MaterialLocalizations.of(context).modalBarrierDismissLabel,
  barrierColor: Colors.black.withOpacity(0.5),
  transitionDuration: const Duration(milliseconds: 200),
  pageBuilder: (buildContext, animation, secondaryAnimation) {
    return LogsPreviewPage(
      params: LogsPreviewParams(
      hints: [ // funny hint
        'First hint',
        'Second hint'
      ],
    );
  },
);

Learn more #

1
likes
0
points
270
downloads

Publisher

unverified uploader

Weekly Downloads

Dart package which manages the logs message, view or share to other.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl, path_provider, share_plus

More

Packages that depend on sublime_log