dio_handler 0.0.1-beta-1 copy "dio_handler: ^0.0.1-beta-1" to clipboard
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();
  }
}
14
likes
0
points
41
downloads

Publisher

verified publisherarfaz.tech

Weekly Downloads

Handle network API requests with Dio.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

connectivity_plus, dio, flutter

More

Packages that depend on dio_handler