ubuntu_widgets library

A collection of widgets developed for Flutter-based Ubuntu applications.

Classes

AnimatedExpanded
Animated version of Expanded that transitions its size and opacity.
CallbackValidator
Validates that a form field input is valid according to the given callback.
ClickableText
This widget is a text that can be clicked and when it is hovered it changes its style, by default to underline + primary color, but that can be customized with textHoverStyle.
ClickableTextState
EqualValidator
Validates that a form field input is equal to the given value.
ErrorIcon
Presents unsuccessful form validation state.
FormLayout
Form layout consists columns with intrinsic widths and vertically center- aligned labels.
KeySearch
Listens to key events and calls onSearch when a key sequence is typed.
ListWidget
A list view that scrolls to the selected item and offers a callback for key search.
LogView
Views a stream of log lines.
A builder widget that makes it straight-forward to build a menu button for an arbitrary list of values.
A menu button entry.
OverrideMouseCursor
Overrides the mouse cursor for a subtree of widgets by stacking a mouse region on top of the child.
PasswordStrengthLabel
A widget that visualizes the strength of a password.
PushButton
A classic push button for desktop.
SlideShow
Displays a set of slides, or any widgets, that animate in and out at a specified interval. The slides can be manually navigated by pressing arrow buttons on the sides, too.
SuccessIcon
Presents successful form validation state.
ValidatedFormField
A TextFormField rewarding a validated input with a specific widget.

Enums

PasswordStrength
The strength of a password.

Extensions

KeySearchX on List<String>
Searches a list in a way that is most appropriate for keyboard searching.

Constants

kKeySearchInterval → const Duration
The default key search interval.
kPushButtonSize → const Size
The minimum size of a push button.
kSlideCurve → const Cubic
The default curve for slide transitions.
kSlideDuration → const Duration
The default duration for slide transitions.
kSlideInterval → const Duration
The default interval for automatic slide changes.

Functions

estimatePasswordStrength(String password) → PasswordStrength
Estimates the strength of the given password.