flutoast 0.0.1 copy "flutoast: ^0.0.1" to clipboard
flutoast: ^0.0.1 copied to clipboard

discontinued

A Flutter toast plugin.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:flutoast/flutoast.dart';

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

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
            child: ElevatedButton(
          onPressed: () {
            Flutoast.show('Hello Ftoast');
          },
          child: Text('show'),
        )),
      ),
    );
  }
}