flutter_fluent_logger

Last updated:

0 purchases

flutter_fluent_logger Image
flutter_fluent_logger Images
Add to Cart

Description:

flutter fluent logger

fluent_logger #
Package that allows you to print different types of messages in console
Getting Started #
Add dependencies #
flutter_fluent_logger: ^0.0.5
copied to clipboard
Build module #
void main() async {
await Fluent.build([
LoggerModule(),
]);

runApp(const MainApp());
}
copied to clipboard
Use it #
class App extends StatelessWidget {
const App({super.key});

@override
Widget build(BuildContext context) {
// Print debug message in console
Fluent.get<LoggerApi>().logDebug("Hello from Fluent Logger");

return MaterialApp(
title: 'Fluent Logger Demo',
home: Scaffold(
body: Center(
child: Text("Hello World!"),
),
),
);
}
}
copied to clipboard
Example #

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.