an_console 0.1.1 copy "an_console: ^0.1.1" to clipboard
an_console: ^0.1.1 copied to clipboard

A developer can fully customize the console content, which can be used to display logs on the UI, serve as an app configuration center, and more functionalities.

A developer can fully customize the console content, which can be used to display logs on the UI, serve as an app configuration center, and more functionalities.


void main() {
  WidgetsFlutterBinding.ensureInitialized();

  //必须在WidgetsFlutterBinding.ensureInitialized 之后使用
  AnConsole.instance.addConsole('Conf', DebugConfig());
  AnConsole.instance.addConsole('DebugDemo', DebugDemo());
  // 加入任何你自定义的widget,并且给他一个title

  runApp(const MyApp());

  //放在runApp之后也可以
}


See example for detailed test case.

Additional information #

If you encounter issues, here are some tips for debug, if nothing helps report to issue tracker on GitHub:

0
likes
130
pub points
41%
popularity

Publisher

verified publisheraymtools.com

A developer can fully customize the console content, which can be used to display logs on the UI, serve as an app configuration center, and more functionalities.

Repository (GitHub)
View/report issues

Topics

#console #vconsole

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, intl, linked_scroll_controller, shared_preferences

More

Packages that depend on an_console