te_widgets library

Classes

AlertButton
A button configuration for alert dialogs.
AppColors
ColorHelper
DecimalInputFormatter
IntegerInputFormatter
MeasureSize
SidebarItems
SidebarNotifier
TagsEditingValue
Value type for TTagsController.
TAlert
A customizable alert dialog with title, content, and action buttons.
TAlertService
Service for displaying alert dialogs.
TAlertTheme
Theme configuration for TAlert.
TAppTheme
TButton
A customizable button widget with multiple variants, sizes, and states.
TButtonGroup
A group of connected buttons with shared styling.
TButtonGroupItem
Defines an item within a TButtonGroup.
TButtonGroupTheme
Theme configuration for TButtonGroup.
TButtonPressOptions
Options passed to the onPressed callback.
TButtonShape
Defines the shape of a button.
TButtonSize
Defines the size metrics of a button.
TButtonTheme
Theme configuration for TButton.
TCard
A Material Design card widget with customizable styling and tap interaction.
TCheckbox
A checkbox input with validation and theming support.
TCheckboxGroup<T>
A group of checkboxes for multiple selection.
TCheckboxGroupItem<T extends Object?>
Represents a single option in a TCheckboxGroup.
TChip
A compact element that represents an attribute, text, entity, or action.
TClockTimePicker
A clock-face time picker widget.
TCrudConfig<T, K>
Configuration for TCrudTable.
TCrudCustomAction<T>
Defines a custom action button in the TCrudTable.
TCrudTable<T, K, F extends TFormBase>
A complete CRUD (Create, Read, Update, Delete) table component.
TCrudTableContent<T, K>
Defines the content for a specific tab in TCrudTable.
TDataTable<T, K>
A data table component with pagination, sorting, and expandable rows.
TDatePicker
A date picker input field with calendar popup.
TDateTimePicker
A date and time picker with tabbed interface.
TDebouncer
TFieldProp<T>
A reactive property for form fields with subscription support.
TFieldSize
Defines the column span of a field at different breakpoints.
TFile
Represents a file selected by TFilePicker.
TFilePicker
A file picker input with preview and validation.
TFilePickerTheme
Theme configuration for TFilePicker.
TFormBase
Base class for creating structured forms.
TFormBuilder
A responsive form builder with grid layout.
TFormField<T>
A form field wrapper with factory methods for all input types.
TFormService
A service for displaying form modals with validation.
TGridDelegate
Delegate for controlling grid layout.
TGuard
A conditional widget wrapper for permissions/access control.
ThemeNotifier
THoverable
A widget that tracks hover state and rebuilds on hover changes.
TIcon
An interactive icon with hover, active states, and rotation.
TImage
An image widget with preview, fallback, and optional title/subtitle.
TInputFieldTheme
TItemsFormBuilder<T extends TFormBase>
A dynamic form builder for managing lists of sub-forms.
TKeyValue
Represents a single key-value item in a TKeyValueSection.
TKeyValueSection
A responsive key-value display section.
TKeyValueTheme
Theme configuration for TKeyValueSection.
TLayout
TLazyIndexedStack
A lazy-loading indexed stack that builds children on demand.
TList<T, K>
A powerful list component with pagination, search, and infinite scroll.
TListAnimationBuilders
Collection of predefined list item animations.
TListCard
A standard card widget for list items.
TListCardTheme
Theme configuration for TListCard.
TListController<T, K>
A powerful controller for managing list state and operations.
TListError
TListItem<T, K>
TListScope
TListState<T, K>
TListTheme
Theme configuration for TList.
TListView<T, K>
A versatile list/grid view with robust features.
TLoadingIcon
An animated loading indicator with multiple styles.
TLoadOptions<T>
Options for loading data in the list.
TLoadResult<T>
Result of a data load operation.
TModal
A customizable modal dialog component.
TModalContext<T>
Context provided to modal builders.
TModalService
Service for showing modal dialogs.
TMultiSelect<T, V, K>
A multi-select dropdown field with search and tags support.
TNavbar
A bottom navigation bar with animated items.
TNavItem
An individual item in a TNavbar.
TNumberField<T extends num>
A numeric input field with formatting and validation support.
TNumberFieldTheme
Theme configuration for TNumberField.
TPagination
A pagination component for navigating through pages.
TPdfTableDecoration
Styling configuration for PDF tables.
TReactiveSelector<T, S>
A reactive widget that rebuilds only when selected value changes.
TScrollbar
A customizable scrollbar with hover effects.
TSearchFilter<T>
TSelect<T, V, K>
A dropdown select field with search, pagination, and hierarchical support.
TSidebarConstants
TSidebarItem
TSidebarItemWidget
TSidebarOverlay
TSidebarOverlayController
TSidebarOverlayItem
TSidebarTheme
TSidebarTooltip
TSpinnerTimePicker
A time picker using scrolling wheels (springs).
TSwitch
A toggle switch input with validation support.
TTab<T>
A tab item for use with TTabs.
TTabContent<T>
A widget that displays tab content based on a TTabController.
TTabController<T>
A controller for managing tab selection state.
TTable<T, K>
A rich data table with responsive layout.
TTableHeader<T, K>
Defines a column in TTable.
TTableHelper
Helper class for creating PDF tables from data headers.
TTableMobileCard<T, K>
A card representation of a table row for mobile views.
TTableMobileCardTheme
Theme configuration for TTableMobileCard.
TTableRowCard<T, K>
A standard table row rendered as a card.
TTableRowCardTheme
Theme configuration for TTableRowCard.
TTableRowHeader<T, K>
The header row of a TTable.
TTableRowHeaderTheme
Theme configuration for TTableRowHeader.
TTableScope
Provides table context to descendants.
TTableTheme
Theme configuration for TTable.
TTabs<T>
A tab navigation component with indicator.
TTabView<T>
A convenience widget that combines TTabs and TTabContent vertically.
TTagsController
Controller for TTagsField.
TTagsField
A tags input field for managing string lists.
TTagsFieldTheme
Theme configuration for TTagsField.
TTextField
A text input field with validation, theming, and advanced features.
TTextFieldTheme
Theme configuration for TTextField.
TTimePicker
A time picker input with clock interface.
TToastService
A service for displaying toast notifications.
TTooltip
A customizable tooltip with rich content and positioning options.
TWidgetTheme
TWidgetThemeExtension
Validations
A collection of common validation functions for form fields.
ValueType
WidgetStatePropertyHelper

Enums

BaseValueType
TArrowDirection
Direction of the tooltip arrow.
TBreakpoint
Screen width breakpoints for responsive layouts.
TButtonGroupType
Defines the display type of a button group.
TButtonType
Defines the visual variant of a button.
TExpansionMode
Mode for expanding list items.
TFileType
TGridMode
Grid layout mode.
TGuardAction
Action to take when a guard condition is not met.
TInputDecorationType
TInputSize
TItemAddPosition
Position to add new items in the list.
TLoadingType
Loading animation types.
TPopupAlignment
Alignment options for the popup relative to its target.
TSelectionMode
Mode for selecting list items.
TTooltipPosition
Position preference for the tooltip.
TTooltipResolvedPosition
The resolved position after layout calculation.
TTooltipSize
Size variant of the tooltip.
TTooltipTriggerMode
How the tooltip is triggered.
TVariant

Mixins

TFocusMixin
Mixin for widgets that manage focus.
TFocusStateMixin<T extends StatefulWidget>
State mixin for managing focus state.
TInputFieldMixin
Mixin for standard input field properties.
TInputFieldStateMixin<W extends StatefulWidget>
State mixin for building input field containers.
TInputValidationMixin<T>
Mixin for input validation logic.
TInputValidationStateMixin<T, W extends StatefulWidget>
State mixin for managing validation state.
TInputValueMixin<T>
Mixin for widgets that hold a typed value.
TInputValueStateMixin<T, W extends StatefulWidget>
State mixin for managing widget value state.
TListMixin<T, K>
Mixin for widgets that implement list behavior.
TListStateMixin<T, K, W extends StatefulWidget>
State mixin for widgets using TListController.
TPopupMixin
Mixin for widgets that display a popup or dropdown.
TPopupStateMixin<T extends StatefulWidget>
State mixin for managing popup overlay logic.
TScrollMixin
Mixin for widgets that implement infinite scrolling or scroll tracking.
TScrollStateMixin<W extends StatefulWidget>
State mixin for managing scroll listeners and position updates.
TTextFieldMixin
Mixin for text field configuration properties.
TTextFieldStateMixin<W extends StatefulWidget>
State mixin for building text field widgets.

Extensions

BaseValueTypeX on BaseValueType?
BoxConstraintsX on BoxConstraints
BuildContextX on BuildContext
ColorSchemeX on ColorScheme
ColorX on Color
DateFormatX on DateFormat
DateTimeX on DateTime
FilePickerResultX on FilePickerResult
IterableDoubleX on Iterable<double>
IterableIntX on Iterable<int>
IterableNumX on Iterable<T>
IterableX on Iterable<T>
LetExtension on T?
Scope functions for null-safe operations
ListX on List<T>
MediaQueryDataX on MediaQueryData
PdfDocumentX on Document
ScopeExtension on T
Scope functions for non-nullable values
SidebarItemListX on List<TSidebarItem>
StringNonNullX on String
StringX on String?
String null-safety helpers
TButtonExtension on TButton
Utility extension for TButton updates.
TFileTypeX on TFileType
TimeOfDayX on TimeOfDay
TInputSizeX on TInputSize?
TListControllerExpansion on TListController<T, K>
Extension providing expansion functionality for hierarchical lists.
TListControllerItems on TListController<T, K>
Extension providing item management for TListController.
TListControllerPagination on TListController<T, K>
Extension providing pagination functionality for TListController.
TListControllerSelection on TListController<T, K>
Extension providing selection functionality for TListController.

Properties

sidebarMinifiedKey String
final
sidebarNotifierProvider → NotifierProvider<SidebarNotifier, bool>
final
themeModeKey String
final
themeNotifierProvider → NotifierProvider<ThemeNotifier, ThemeMode>
final

Functions

initializeApp() Future<void>

Typedefs

ErrorsBuilder = Widget Function(List<String> errors)
FileTagBuilder = Widget Function(TFile file, VoidCallback onRemove)
HelperTextBuilder = Widget Function(String? helperText)
ItemChildrenAccessor<T> = List<T>? Function(T item)
ItemKeyAccessor<T, K> = K Function(T item)
ItemTextAccessor<T> = String Function(T item)
ItemToString<T> = String Function(T item)
ItemValueAccessor<T, V> = V Function(T item)
A function that extracts a value from an item.
LabelBuilder = Widget Function(String? label, String? tag, bool isRequired)
ListItemBuilder<T, K> = Widget Function(BuildContext context, TListItem<T, K> item, int index)
ListItemFactory<T, K> = TListItem<T, K> Function(T item)
ListItemTap<T, K> = void Function(TListItem<T, K> item)
OnWidgetSizeChange = void Function(Size size)
StepperBuilder = Widget Function(BuildContext ctx, ValueChanged<num> onValueChanged, bool canIncrease, bool canDecrease)
StepperButtonBuilder = Widget Function(VoidCallback onTap, bool enabled)
TagBuilder = Widget Function(String tag, VoidCallback onRemove)
TGridDelegateBuilder = TGridDelegate Function(BuildContext context)
TGuardCondition<T> = bool Function(T)
Function type for guard conditions.
TListAnimationBuilder = Widget Function(BuildContext context, Animation<double> animation, Widget child, int index)
Builder for list item animations.
TListDragProxyDecorator = Widget Function(Widget, int, Animation<double>)
TListEmptyBuilder = Widget Function(BuildContext context)
TListErrorBuilder = Widget Function(BuildContext context, TListError error)
TListFooterBuilder = Widget Function(BuildContext context)
TListHeaderBuilder = Widget Function(BuildContext context)
TListLoadingBuilder = Widget Function(BuildContext context)
TListReorderCallback = void Function(int, int)
TListSeparatorBuilder = Widget? Function(BuildContext context, int index)
TLoadListener<T> = Future<TLoadResult<T>> Function(TLoadOptions<T> options)
TModalWidgetBuilder<T> = Widget Function(TModalContext<T> context)
Builder function for modal content.