talker_riverpod_logger 4.4.3 copy "talker_riverpod_logger: ^4.4.3" to clipboard
talker_riverpod_logger: ^4.4.3 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

23
likes
0
pub points
92%
popularity

Publisher

verified publisherfrezycode.com

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

Repository (GitHub)
View/report issues

Topics

#riverpod #state #logging

License

unknown (license)

Dependencies

meta, riverpod, talker

More

Packages that depend on talker_riverpod_logger