fastyle_connectivity 0.0.5 copy "fastyle_connectivity: ^0.0.5" to clipboard
fastyle_connectivity: ^0.0.5 copied to clipboard

Set of connectivity Widgets for the fastyle library.

example/lib/main.dart

import 'package:fastyle_dart/fastyle_dart.dart';
import 'package:flutter/material.dart';
import 'package:fastyle_connectivity/fastyle_connectivity.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return const FastApp(
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return const FastSectionPage(
      titleText: 'Fast Connectivity Example',
      child: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            FastConnectivityStatusListener(
              showDescription: true,
            ),
          ],
        ),
      ),
      // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}
0
likes
0
points
90
downloads

Publisher

unverified uploader

Weekly Downloads

Set of connectivity Widgets for the fastyle library.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

connectivity_plus, fastyle_dart, flutter, font_awesome_flutter, rxdart, tbloc, tmodel

More

Packages that depend on fastyle_connectivity