lb_commons 1.0.2 copy "lb_commons: ^1.0.2" to clipboard
lb_commons: ^1.0.2 copied to clipboard

outdated

Various components shared between different Logbot SDK modules

example/lib/main.dart

// Copyright 2022 Logbot SRL. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';
import 'package:lb_commons/services/logbot_logger.dart';

Future<void> main() async {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Logbot SDK - Commons Example',
      themeMode: ThemeMode.light,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const HomePage(),
      initialRoute: '/',
    );
  }
}

class HomePage extends StatefulWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  void initState() {
    super.initState();
    LogbotLogger().debug("DEBUG TITLE", "DEBUG MESSAGE");
  }

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
1
likes
0
pub points
2%
popularity

Publisher

verified publisherlogbot.cloud

Various components shared between different Logbot SDK modules

Homepage

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, http, intl, logger, meta

More

Packages that depend on lb_commons