riverpod_cache_time 0.0.6 copy "riverpod_cache_time: ^0.0.6" to clipboard
riverpod_cache_time: ^0.0.6 copied to clipboard

Provides a function that allows you to use cache time when using the RiverPod state management library.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:riverpod_cache_time_example/screen/main_screen.dart';

void main() {
  runApp(const MyApp());
}

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  // String _platformVersion = 'Unknown';

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return const ProviderScope(
      child: MaterialApp(
        home: MainScreen(),
      ),
    );
  }
}
0
likes
105
points
48
downloads

Publisher

unverified uploader

Weekly Downloads

Provides a function that allows you to use cache time when using the RiverPod state management library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, flutter_riverpod, logger, plugin_platform_interface

More

Packages that depend on riverpod_cache_time

Packages that implement riverpod_cache_time