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

A lightweight animated toast widget for Flutter using OverlayEntry with smooth slide animations.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text("Animated Toast Example")),
        body: Center(
          child: ElevatedButton(
            onPressed: () =>{
              
            }, 
            // showAnimatedToast(context, 'Hello from package!', duration: const Duration(seconds: 5)),
            child: const Text("Show Toast"),
          ),
        ),
      ),
    );
  }
}
2
likes
0
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight animated toast widget for Flutter using OverlayEntry with smooth slide animations.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_animated_toast