dio_handler 0.0.1-beta-1
dio_handler: ^0.0.1-beta-1 copied to clipboard
Handle network API requests with Dio.
example/lib/main.dart
import 'package:dio_handler/dio_handler.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Dio Handler Example',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
const MyHomePage({super.key});
@override
Widget build(BuildContext context) {
return const Placeholder();
}
}