lan_web_server 1.0.1+2 copy "lan_web_server: ^1.0.1+2" to clipboard
lan_web_server: ^1.0.1+2 copied to clipboard

A cross-platform LAN file sharing server with a simple web interface for uploading, downloading, and managing files.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'pages/web_server_page.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'LAN File Transfer Example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        // useMaterial3: true,
      ),
      home: const HomePage(),
    );
  }
}

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: WebServerPage(),
    );
  }
}
0
likes
150
points
7
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A cross-platform LAN file sharing server with a simple web interface for uploading, downloading, and managing files.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

archive, flutter, mime, path, path_provider

More

Packages that depend on lan_web_server