Last updated:
0 purchases
katana ui
Katana UI
[GitHub] | [YouTube] | [Packages] | [Twitter] | [Threads] | [LinkedIn] | [mathru.net]
This package is a collection of additional features around the UI available in the Katana/Masamune framework.
Installation #
Import the following packages
flutter pub add katana_ui
copied to clipboard
How to use #
Modal dialog #
Alert and confirmation dialogs can be displayed.
// Alert dialog.
Modal.alert(
title: "Title",
text: "Contents text",
submitText: "OK",
onSubmit: () {
// Processing when the OK button is pressed
},
);
// Confirmation dialog.
Modal.confirm(
title: "Title",
text: "Contents text",
submitText: "Yes",
cancelText: "No",
onSubmit: () {
// Processing when the Yes button is pressed
},
onCancel: () {
// Processing when the No button is pressed
}
);
copied to clipboard
GitHub Sponsors #
Sponsors are always welcome. Thank you for your support!
https://github.com/sponsors/mathrunet
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.