network_plugin 0.0.6 copy "network_plugin: ^0.0.6" to clipboard
network_plugin: ^0.0.6 copied to clipboard

A Flutter widget for network_plugin.

example/lib/main.dart

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

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

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


  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(

        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const HomePage(),
      debugShowCheckedModeBanner: false,
    );
  }
}

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

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Scaffold(
        body: Container(
      
          child:NetworkPlugin()
      
      
        ),
      ),
    );
  }
}
0
likes
130
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget for network_plugin.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, http

More

Packages that depend on network_plugin