apis/style/frontend/has_button library

Classes

HasButton

Functions

button(AppModel app, BuildContext context, {Icon? icon, required String label, String? tooltip, VoidCallback? onPressed}) Widget
dialogButton(AppModel app, BuildContext context, {VoidCallback? onPressed, required String label, String? tooltip, bool? selected}) Widget
dialogButtons(AppModel app, BuildContext context, {required List<String> labels, required List<VoidCallback?> functions}) List<Widget>
iconButton(AppModel app, BuildContext context, {VoidCallback? onPressed, Color? color, String? tooltip, required Widget icon}) Widget
popupMenuButton<T>(AppModel app, BuildContext context, {String? tooltip, Widget? icon, Widget? child, required PopupMenuItemBuilder<T> itemBuilder, PopupMenuItemSelected<T>? onSelected}) PopupMenuButton<T>
popupMenuDivider(AppModel app, BuildContext context) PopupMenuDivider
popupMenuItem<T>(AppModel app, BuildContext context, {required String label, bool enabled = true, T? value}) PopupMenuItem<T>
simpleButton(AppModel app, BuildContext context, {VoidCallback? onPressed, required String label}) Widget