Skip to main content

nativemind_vpn 1.2.2 copy "nativemind_vpn: ^1.2.2" to clipboard
nativemind_vpn: ^1.2.2 copied to clipboard

VPN client widgets made by hand by Gleb Sosnin and Wishyut: connect button, stats, location, server and app lists, settings, VPN editions, flags.

example/example.dart

// Gleb Sosnin's VPN main screen widgets with an edition's gradient; the app keeps the tunnel state and passes it in.
// written by Claude Code (generated by Claude Code), 2026-11-16; pub.dev example (pana "Package has an example")
import 'package:flutter/material.dart';
import 'package:nativemind_vpn/nativemind_vpn.dart';

// written by Claude Code (generated by Claude Code), 2026-11-16; pub.dev example (pana "Package has an example")
void main() => runApp(
      MaterialApp(
        theme: nmLightTheme,
        darkTheme: nmDarkTheme,
        localizationsDelegates: const [NmVpnL10n.delegate, NmNetwork.delegate],
        home: Scaffold(
          body: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              const NmStatBar(download: '23.1 Mb/s', upload: '4.2 Mb/s', ping: '46 ms'),
              NmMainBtn(status: NmConnectionStatus.disconnected, timeText: '00:00:00', onToggle: () async {}),
            ],
          ),
        ),
      ),
    );
0
likes
140
points
155
downloads

Documentation

API reference

Publisher

verified publisherframework.nativemind.net

Weekly Downloads

VPN client widgets made by hand by Gleb Sosnin and Wishyut: connect button, stats, location, server and app lists, settings, VPN editions, flags.

Repository (GitLab)

Topics

#widget #vpn #design-system

License

unknown (license)

Dependencies

flutter, flutter_localizations, flutter_svg, intl, nativemind_core, nativemind_icons_fugue, url_launcher

More

Packages that depend on nativemind_vpn