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'));
        },
      ),
    );
  }
}
12
likes
140
pub points
57%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, provider

More

Packages that depend on pulp_flash