gaweyo_alert 0.0.1
gaweyo_alert: ^0.0.1 copied to clipboard
Have you been turned into a newt? Would you like to be? This package can help. It has all of the newt-transmogrification functionality you have been looking for.
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'), )), ); } }