ping_notification 0.0.3 copy "ping_notification: ^0.0.3" to clipboard
ping_notification: ^0.0.3 copied to clipboard

Ping Notification es una librería de Flutter

example/lib/main.dart

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

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

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  HomePage({super.key});
  final PingNotificationManager pingManager = PingNotificationManager();
  @override
  Widget build(BuildContext context) {
    pingManager.initConfigurationPingNotification(
      context: context,
    );
    return Scaffold(
      appBar: AppBar(
        title: const Text('Plugin example app'),
      ),
      body: Center(
        child: Text('Runing'),
      ),
    );
  }
}
2
likes
140
points
22
downloads

Publisher

verified publishernio.ilove-soft.com

Weekly Downloads

Ping Notification es una librería de Flutter

Documentation

API reference

License

MIT (license)

Dependencies

flutter, network_ping

More

Packages that depend on ping_notification