talker_riverpod_logger 1.0.4 copy "talker_riverpod_logger: ^1.0.4" to clipboard
talker_riverpod_logger: ^1.0.4 copied to clipboard

Lightweight and customizable Riverpod state management library logger on talker base.

example/README.md

A pure Dart script that fetches the list of comics from https://developer.marvel.com/

This showcases how to use [riverpod] without Flutter.
It also shows how a provider can depend on another provider asynchronously loaded.

Installation #

To run this example, you will need to set your public key and private key on the models.dart file and generate files

final hash = md5
        .convert(
          utf8.encode(
            '$timestamp${"<your private key>"}${"<your public key>"}',
          ),
        )
        .toString();

final result = await _client.get<Map<String, Object?>>(
      'http://gateway.marvel.com/v1/public/comics',
      queryParameters: <String, Object?>{
        'ts': timestamp,
        'apikey': "<your public key>",
        'hash': hash,
      },
    );
dart run build_runner build --delete-conflicting-outputs

Where public_key and private_key are obtained from https://developer.marvel.com/account

12
likes
160
pub points
78%
popularity

Publisher

verified publisherfrezycode.com

Lightweight and customizable Riverpod state management library logger on talker base.

Repository (GitHub)
View/report issues
Contributing

Topics

#riverpod #state #logging

Documentation

API reference

License

MIT (LICENSE)

Dependencies

meta, riverpod, talker

More

Packages that depend on talker_riverpod_logger