success_error_overlay 1.0.0 copy "success_error_overlay: ^1.0.0" to clipboard
success_error_overlay: ^1.0.0 copied to clipboard

outdated

A plugin for showing Succes or Error OverLay in a few lines of code and highly customizable colors and text

success_error_overlay #

A plugin for showing an overlay above screen with a nice animation and highly Customizable colors and text

Basic Example #

!!! Complete Example in the Example Tab #

SuccessErrorOverlay(
  onTap: () => setState(() => isVisible = false),
  isCorrect: true,
),

Complete Example #

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

class Example extends StatefulWidget {
  @override
  _ExampleState createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  bool isVisible = false;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Stack(
        children: <Widget>[
          Center(
            child: RaisedButton(
              onPressed: () => setState(() => isVisible = true),
              child: Text("Show Overlay"),
            ),
          ),
          !isVisible ? Container() : SuccessErrorOverlay(
            onTap: () => setState(() => isVisible = false),
            isCorrect: true,
          ),
        ],
      ),
    );
  }
1
likes
20
pub points
0%
popularity

Publisher

verified publisherdplyr.dev

A plugin for showing Succes or Error OverLay in a few lines of code and highly customizable colors and text

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on success_error_overlay