mirrored_repositories/Spotify-Clone-using-Flutter/lib
import 'package:flutter/material.dart';

//Basic UI Classes
class ShowCustomAlertDialog extends ChangeNotifier{
  Future<Widget> showCustomDialog(BuildContext context, String message){
    return showDialog(
      context: context,
      builder: (context){
        return AlertDialog(
          title: Text(message),
          actions: <Widget>[
            Center(
              child: RaisedButton(
                color: Colors.green,
                onPressed: (){
                  Navigator.pop(context);
                },
                child: Text("Okay!"),
              ),
            ),
          ],
        );
      }
    );
  }
}
