stalemate 0.0.1 stalemate: ^0.0.1 copied to clipboard
StaleMate - A flexible Flutter data synchronization library. Supports any data storage or fetching method.
import 'package:example/pages/simple_usage/simple_usage.dart';
import 'package:flutter/material.dart';
import 'pages/home_page/home_page.dart';
import 'pages/paginated_loader_page/paginated_loader_page.dart';
void main() {
runApp(
MaterialApp(
title: 'Flutter StaleMate example',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const HomePage(), // becomes the route named '/'
routes: <String, WidgetBuilder>{
'/simple_usage': (BuildContext context) =>
const SimpleUsage(),
'paginated_loader': (context) => const PaginatedLoaderPage(),
},
),
);
}