network_plugin 0.0.5 copy "network_plugin: ^0.0.5" to clipboard
network_plugin: ^0.0.5 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 Scaffold(
      body: Container(

        child:SingleChildScrollView(


          child:Column(
            children: [
              Text("example of network plugin.", style: TextStyle(
                fontSize: 30
              ),),
              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

More

Packages that depend on network_plugin