Usage

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

Example

void main() => runApp(App());

class App extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: MyApp(), ); } }

class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('Gaweyo Dialog'), ), body: Center( child: ElevatedButton( onPressed: () { GaweyoAlert.alertImage( context, onTap: () { // input your function }, textContent: 'textContent', title: 'title', image: 'image', buttonText: 'buttonText', ); }, child: const Text('button alert'), )), ); } }

Libraries

gaweyo_alert