odindio 1.0.1 copy "odindio: ^1.0.1" to clipboard
odindio: ^1.0.1 copied to clipboard

odin flutter dio plugin

example/lib/main.dart

import 'package:flutter/material.dart';
import 'dart:async';

import 'package:flutter/services.dart';
import 'package:odindio/odindio.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';
  final _odindioPlugin = OdinDio();

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Text('Running on:'),
        ),
      ),
    );
  }
}
0
likes
130
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

odin flutter dio plugin

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, flutter_web_plugins, json_annotation, path, plugin_platform_interface, reflectable

More

Packages that depend on odindio