lb_commons 1.1.0 lb_commons: ^1.1.0 copied to clipboard
Various components shared between different Logbot SDK modules
// 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();
}
}