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

Toast Library for Flutter

example/lib/main.dart

import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Flutter Toast Example'),
        ),
        body: Center(
          child: ElevatedButton(
            child: const Text('Show Toast'),
            onPressed: () {
              // FlutterToast.showToast('Hello Flutter Toast!');
            },
          ),
        ),
      ),
    );
  }
}
0
likes
140
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

Toast Library for Flutter

Documentation

API reference

License

MIT (license)

Dependencies

flutter, mockito, plugin_platform_interface

More

Packages that depend on toast_simple