risto_widgets library

Classes

CustomActionButton
A customizable button widget that can be configured as elevated, flat, minimal, or long-press button types. Provides a flexible API to adjust styles, colors, shapes, and behaviors.
CustomBottomNavBar
A customizable bottom navigation bar that manages navigation between different pages.
CustomIconText
A widget that displays an icon alongside text in a horizontal row.
DoubleListTileButtons
A widget that displays two buttons side by side, typically used at the bottom of a sheet or dialog for actions like "Confirm" and "Cancel".
ExpandableListTileButton
A widget that provides an expandable list tile button with customizable headers and content.
IconListTileButton
A convenience widget that combines an icon with a ListTileButton.
IncrementDecrementWidget
A widget that provides increment and decrement functionality with customizable buttons and display. It allows users to increase or decrease a numerical value within optional bounds, making it suitable for quantity selectors in shopping carts, forms, and other interactive UI components.
ListTileButton
A customizable list tile button that wraps content in a rounded container and provides tap and long-press callbacks. Ideal for creating interactive list items with consistent styling.
Represents an individual navigation item within the CustomBottomNavBar.
OpenCustomSheet
A class responsible for displaying customized modal bottom sheets.
PaddedChildrenList
A customizable list with padded children, providing default or custom padding.
PaddingWrapper
A customizable wrapper that applies padding to its child widget.
RoundedContainer
A container with rounded corners and optional border and elevation.
SinglePressButton
A customizable button that ensures the onPressed callback is invoked only once per press. It prevents multiple invocations during a single press, making it ideal for handling actions that shouldn't be executed multiple times concurrently, such as network requests.

Enums

ButtonType
Types of buttons available in CustomActionButton.

Typedefs

ValueUpdate = dynamic Function(int updateValue)
A type definition for a callback function that updates the quantity value.