flutter_callouts 7.0.3
flutter_callouts: ^7.0.3 copied to clipboard
Point stuff out for your users => Target, Transform, Configure Callouts, Record to JSON in Dev, and Play in Production
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:flutter_callouts/flutter_callouts.dart';
import 'callouts-intro.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
fca.logger.d('Running example app');
fca.loggerNs.i('Info message');
fca.loggerNs.w('Just a warning!');
fca.logger.e('Error! Something bad happened', error: 'Test Error');
fca.loggerNs.t({'key': 5, 'value': 'something'});
await fca.initLocalStorage();
runApp(
const FC_MaterialApp(title: 'flutter_callouts demo', home: IntroPage()),
);
}