Last updated:
0 purchases
gaweyo alert
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'),
)),
);
}
}
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.