pulp_flash 0.0.6 copy "pulp_flash: ^0.0.6" to clipboard
pulp_flash: ^0.0.6 copied to clipboard

Clean and beautiful flashes contained action, animation, expandable mode, etc. It's easy to use and dynamic.

example/example.dart

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

void main() =>
    runApp(const PulpFlashProvider(child: MaterialApp(home: ExampleScreen())));

class ExampleScreen extends StatelessWidget {
  const ExampleScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.tips_and_updates_rounded),
        onPressed: () {
          PulpFlash.of(context).showMessage(context,
              inputMessage: Message(
                  status: FlashStatus.tips, title: 'This is a tip message'));
        },
      ),
    );
  }
}
14
likes
160
points
30
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Clean and beautiful flashes contained action, animation, expandable mode, etc. It's easy to use and dynamic.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, provider

More

Packages that depend on pulp_flash