tarka_ui library

Classes

AdaptiveTextSelectionToolbar
The default context menu for text selection for the current platform.
DateTimeRange
Encapsulates a start and end DateTime that represent the range of dates.
DateUtils
Utility functions for working with dates.
DefaultMaterialLocalizations
US English strings for the material widgets.
Feedback
Provides platform-specific acoustic and/or haptic feedback for certain actions.
The Flutter logo, in widget form. This widget respects the IconTheme. For guidelines on using the Flutter logo, visit https://flutter.dev/brand.
MaterialLocalizations
Defines the localized resource values used by the Material widgets.
ReorderableDragStartListener
A wrapper widget that will recognize the start of a drag on the wrapped widget by a PointerDownEvent, and immediately initiate dragging the wrapped item to a new location in a reorderable list.
ReorderableListView
A list whose items the user can interactively reorder by dragging.
SelectableText
A run of selectable text with a single style.
TextMagnifier
A Magnifier positioned by rules dictated by the native Android magnifier.
ThemeExtension<T extends ThemeExtension<T>>
An interface that defines custom additions to a ThemeData object.
TooltipVisibility
Overrides the visibility of descendant Tooltip widgets.
TUIAccordion
TUIAccordion is a widget that allows you to show and hide content.
TUIAnchor
TUIAnchor is a component that is used to create a clickable anchor.
TUIApp
TUIApp is a wrapper around WidgetsApp and MaterialApp
TUIAppBarItem
TUIAppTopBar
TUIAppTopBar is a widget that allows you to create a top bar.
TUIAttachmentUpload
TUIAttachmentUpload widget to display an attachment upload with title, description and action buttons.
TUIAvatar
TUIAvatar is used to create a Avatar with content, size and badge flag.
TUIAvatarContent
TUIAvatarContent stores the content type and the content for the Avatar.
TUIBadge
TUIBadge is used to create a Badge with content, size and badge flag.
TUIBreadCrumb
TUIBreadCrumb is used to create a BreadCrumb with titles and onTap function.
TUIButton
TUIButton is used to create a button with label, icon and button type.
TUICheckBox
TUICheckBox is used to create a checkbox with label and checkbox state.
TUIColors
TUIColors is a class that holds all the colors used in the Tarka UI.
TUIDefaultColors
TUIDefaultColors is a class that holds all the default colors used in the Tarka UI.
TUIDivider
TKDivider is used to create a divider with default height and color.
TUIEmailSubjectField
TUIEmailSubjectField is a text field for entering the subject of an email.
TUIFloatingActionButton
TUIFloatingActionButton is a button that floats on the screen.
TUIIconButton
TUIIconButton is used to create a button with icon and button type.
TUIInputField
TUIInputField is a text input field that allows users to enter text.
TUIMediaThumbnail
TUIMediaThumbnail is a widget that displays a thumbnail of a media file.
TUIMobileButtonBlock
TUIMobileButtonBlock is a widget that displays a row of buttons.
TUIMobileButtonBlockStyle
TUIMobileOverlayHeader
TUIMobileOverlayHeader is a widget that is used to create a header for the mobile overlay.
TUINavigationRow
TUINavigationRow widget to display a navigation row with title, icon and accessory view.
TUIOverlayMobileStyle
TUIRadioButton
TUIRadioButton is a button that can be selected or deselected, and is used to indicate a choice.
TUIRangeSlider
TUISlider
TUISlider widget for selecting a value from a range of values.
TUISnackBar
TUISnackBar widget is a lightweight message with an optional action which briefly displays at the bottom of the screen.
TUISnackBarAction
TUISuccessCheckMark
TUISuccessCheckMark is used to create a success check mark.
TUISymbol
TUISymbol is a class that holds all the symbols used in the Tarka UI.
TUITag
TUITag is used to create a tag with contrast, icon type, size and text content.
TUITextStyle
TUITextStyle is a class that holds all the text styles used in the Tarka UI.
TUIToggleSwitch
TUIToggleSwitch that can be used to toggle between two states.
TUITypography
TUITypography is a class that holds all the text styles used in the Tarka UI.
VisualDensity
Defines the visual density of user interface components.

Enums

Brightness
Describes the contrast of a theme or color palette.
DatePickerMode
Initial display of a calendar date picker.
HourFormat
Describes how hours are formatted.
Style
TextInputAction
An action the user has requested the text input control to perform.
ThemeMode
Describes which theme will be used by MaterialApp.
TooltipTriggerMode
The method of interaction that will trigger a tooltip. Used in Tooltip.triggerMode and TooltipThemeData.triggerMode.
TUIAvatarContentType
TUIAvatarContentType is used to define the content type of Avatar.
TUIAvatarSize
TUIAvatarSize is used to define the size of Avatar.
TUIBadgeSize
TUIButtonIconPosition
TUICheckBoxState
TUIDividerHorizontalPadding
TUIDividerHorizontalPadding is used to define the horizontal padding of divider.
TUIDividerType
TUIDividerType is used to define the type of divider.
TUIDividerVerticalPadding
TUIDividerVerticalPadding is used to define the vertical padding of divider.
TUIFloatingActionButtonSize
TUIMediaThumbnailSize
TUIMediaThumbnailType
TUIOverlayMobileStyleType
TUISnackBarType
TUITagContrast
TUITagContrast is used to define the contrast of the tag, text color and icon color are computed based on contrast.
TUITagIconType
TUITagIconType is used to define the position of the icon in the tag.
TUITagSize
TUITagSize is used to define the size of the tag. IconSize, leftPadding, rightPadding, space between icon and text, tag height, text style, and vertical padding are computed based on tag size.

Constants

kElevationToShadow → const Map<int, List<BoxShadow>>
Map of elevation offsets used by Material Design to BoxShadow definitions.
kThemeAnimationDuration → const Duration
The duration over which theme changes animate by default.

Typedefs

SelectableDayPredicate = bool Function(DateTime day)
Signature for predicating dates for enabled date selections.
TUIRangeValues = RangeValues