flutter_query 0.3.3
flutter_query: ^0.3.3 copied to clipboard
Widgets that help state management of asynchronous operations such as sending HTTP requests, getting the response, and caching the result.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:flutter_query/flutter_query.dart';
void main() {
runApp(
QueryScope(
child: const App(),
),
);
}
class App extends StatelessWidget {
const App({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'futter_query Example',
theme: ThemeData(primarySwatch: Colors.blue),
home: const Scaffold(),
);
}
}