ui library

Classes

AdvancedForm
Field
FieldValidateResult
A class representing the result of a field validation. The FieldValidateResult contains information about whether a field is valid, any error messages, and a combined error message for easy access.
FieldValidator
A utility class providing common field validators. The FieldValidator class contains static methods for common validation tasks, such as checking if a field is required, validating the length of a string, or ensuring a field is a number or an email address.
FinchStringWidget
An abstract class representing a basic widget that provides an HTML layout as a string. The FinchStringWidget class serves as a base class for widgets that involve generating or managing HTML content in string format. It defines a single layout property that can be used by subclasses to provide a default or customizable HTML structure.
FinchView
A base class for views in the web application. The FinchView class provides the core structure for rendering views and handling data within the application. It includes logic for rendering widgets and allows derived classes to customize how data is processed. Example usage:
FormResult
FormValidator
A class for validating form data using customizable field validators. The FormValidator class allows defining validation rules for form fields and then validating input data against those rules. It also handles error reporting and formatting for easy form validation and feedback display.
UIPaging
A class that handles pagination logic and generates view parameters for rendering. The UIPaging class is used to manage pagination, including calculating the current page, the range of pages to display, and handling query parameters. It extends FinchView to integrate with the application's view rendering system.
WidgetSwagger

Typedefs

ValidatorEvent<T> = Future<FieldValidateResult> Function(T value)