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

网络请求

example/lib/main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Plugin example app')),
        body: const Center(child: Text('qs_net_request example')),
      ),
    );
  }
}