Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 510 Bytes

example.md

File metadata and controls

29 lines (21 loc) · 510 Bytes

Example

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

class Example extends StatefulWidget {
  const Example({Key? key}) : super(key: key);

  @override
  _ExampleState createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  @override
  void initState() {
    super.initState();
    InternetPopup().initialize(context: context);
  }

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}