arna_logger 1.1.0 copy "arna_logger: ^1.1.0" to clipboard
arna_logger: ^1.1.0 copied to clipboard

Arna Logger is a small and pretty logger for your applications.

example/lib/main.dart

import 'package:arna/arna.dart';
import 'package:arna_logger/arna_logger.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return ArnaApp(
      home: ArnaScaffold(
        headerBar: ArnaHeaderBar(title: 'Arna Logger Demo'),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              ArnaButton.text(
                label: 'Arna Logger',
                onPressed: () => arnaLogger(
                  title: 'Arna Logger',
                  data: 'Hello World',
                ),
              ),
              ArnaButton.text(
                label: 'Arna Json Logger',
                onPressed: () => arnaLogger(
                  title: 'Arna Json Logger',
                  data: {'text': 'foo', 'value': '2'},
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
1
likes
155
pub points
48%
popularity

Publisher

unverified uploader

Arna Logger is a small and pretty logger for your applications.

Repository (GitHub)
View/report issues

Topics

#logging

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on arna_logger