bones_ui library Null safety
Bone UI
Easy and simple Web User Interface for Dart.
Classes
- AudioFileReader
- BonesUI
- BUIElementGenerator
- BUIManifest
- BUIManifestRender
- BUIRender
- BUIRenderSource
- BUIView
- BUIViewProvider
- BUIViewProviderBase
- CalendarEvent
- ConfigDocument
- CSSProvider
- ElementGeneratorBase
- ElementProvider
- EventHandlerPrivate
- ExplorerModel
- ImageClip
- Represents an image clip parameters.
- ImageFileReader
- InputConfig
- Configuration for an input.
- JSONConfig
- JSONConfigDocument
- MasonryItem
-
MenuEntry<
P> - MenuItem
- MenuSeparator
- Represents a navigation (route + parameters).
- PopupGroup
-
ResourceConfig<
D extends ConfigDocument> - TextProvider
- UIAsyncContent
- An asynchronous content.
- UIButton
- A simple button implementation.
- UIButtonBase
- Base class for button components.
- UIButtonCapture
- UIButtonCapturePhoto
- UIButtonLoader
- UICalendar
- A calendar component.
- UICalendarPopup
- A button component that shows an UICalendar dialog when clicked.
- UICapture
- UIClipImage
- Component to clip an image.
- UIColorPicker
- UIColorPickerInput
- UIComponent
-
Base class to create
Bones_UI
components. - UIComponentAsync
- A component that renders a content asynchronously.
-
UIComponentAttributeHandler<
C extends UIComponent, T> - Handler of a UIComponent attribute.
-
UIComponentGenerator<
C extends UIComponent> -
A generator of UIComponent based in a HTML tag,
for
dom_builder
(extends ElementGenerator). - UIConsole
- A console output int the UI.
- UIControlledComponent
- UIDataSource
- UIDeviceOrientation
- Tracks and fires events of device orientation changes.
- UIDialog
- UIDialogAlert
- UIDialogBase
- Component that renders a dialog.
- UIDialogInput
- UIDialogLoading
- UIDocument
-
An UIComponentAsync to show rendered documents,
like
markdown
,html
,json
andtext
. - UIDOMActionExecutor
- UIDOMGenerator
-
A DOMGenerator (from package
dom_builder
) able to generate Element (fromdart:html
). - UIEventHandler
- UIExplorer
-
UIField<
V> - For a UIComponent that is a field (has a value).
-
UIFieldMap<
V> - For a UIComponent that is a field with a Map value.
- UIInfosTable
- Component that renders a table with information.
- UIInputTable
- Component that renders a table with inputs.
- UILoading
- UILoadingConfig
- UIMasonry
- UIMenu
- UIMultiSelection
- A component that renders a multi-selection input.
-
Bones_UI
base class for navigable components using routes. -
A
Bones_UI
component for navigable contents by routes. - Handles navigation and routes.
- UIPopupMenu
- UIRoot
-
The root for
Bones_UI
component tree. - UISVG
- Component to show a SVG.
- URLFileReader
- URLLink
- Represents an url link, with an optional target.
- VideoFileReader
- YAMLConfig
- YAMLConfigDocument
Extensions
Properties
- logger → _Logger
-
final
- loggerIgnoreBonesUI → _Logger
-
final
Functions
-
$uiButton(
{dynamic id, String? field, dynamic classes, dynamic style, Map< String, String> ? attributes, String? text, bool commented = false}) → DOMElement -
DOMElement tag
ui-button
for UIButton. -
$uiButtonLoader(
{dynamic id, String? field, dynamic classes, dynamic style, dynamic buttonClasses, dynamic buttonStyle, Map< String, String> ? attributes, dynamic content, bool commented = false, bool? withProgress, dynamic loadingConfig}) → DOMElement -
DOMElement tag
ui-button-loader
for UIButtonLoader. -
$uiDialog(
{dynamic id, String? field, dynamic classes, dynamic style, bool? show, bool? showCloseButton, Map< String, String> ? attributes, dynamic content, bool commented = false}) → DOMElement -
DOMElement tag
ui-dialog
for UIDialog. -
$uiLoading(
{UILoadingType? type, dynamic inline, dynamic color, dynamic zoom, dynamic text, dynamic textZoom, bool? withProgress}) → DIVElement -
$uiSVG(
{dynamic id, String? field, dynamic classes, dynamic style, String? src, dynamic width, dynamic height, dynamic color, dynamic title, Map< String, String> ? attributes, dynamic content, bool commented = false}) → DOMElement -
DOMElement tag
ui-svg
for UISVG. -
canBeInDOM(
dynamic element) → bool -
Returns
true
ifelement
type is able to be in DOM. -
getLanguageByExtension(
String extension) → String? -
Returns a document language by
extension
. -
getUILoadingType(
dynamic type) → UILoadingType? -
getUILoadingTypeClass(
UILoadingType type) → String? -
htmlAsSvgContent(
String html, {int? width, int? height, String? rootClass, String? style}) → String? -
isComponentInDOM(
dynamic element) → bool -
Returns
true
if aBones_UI
component is in DOM. -
parseBUIAttribute(
String? buiCode, String attributeName) → String?
Enums
- CalendarMode
- CaptureDataFormat
- CaptureType
- ControllerPropertiesType
- PopupPosition
- UIComponentClearParent
- UIComponent behavior to clear the component.
- UILoadingType
Typedefs
- AsyncContentProvider = Future? Function()
- BUIViewPropertyProvider = String Function(BUIView view)
- FieldInputRender = dynamic Function(InputConfig inputConfig)
- FieldValueEvent = void Function(dynamic event)
-
FieldValueNormalizer<
V> = V? Function(String field, V? value) - FieldValueProvider = dynamic Function(String field)
- FieldValueValidator = bool Function(String field, String? value)
- FilterElement = bool Function(Element elem)
- FilterRendered = bool Function(dynamic elem)
- ForEachComponent = void Function(Object elem)
- ForEachElement = void Function(Element elem)
- MenuAction = void Function( )
- MenuActionSimple = void Function()
-
ParametersProvider
= Map<
String, String> Function() -
RenderAsync
= Future? Function(Map<
String, dynamic> properties) -
RenderPropertiesProvider
= Map<
String, dynamic> Function() -
UIComponentAttributeAppender<
C extends UIComponent, T> = void Function(C uiComponent, T? value) -
UIComponentAttributeCleaner<
C extends UIComponent, T> = void Function(C uiComponent) -
UIComponentAttributeGetter<
C extends UIComponent, T> = T? Function(C uiComponent) -
UIComponentAttributeParser<
T> = T? Function(dynamic value) -
UIComponentAttributeSetter<
C extends UIComponent, T> = void Function(C uiComponent, T? value) -
UIComponentInstantiator<
C extends UIComponent> = C Function(Element? parent, Map< String, DOMAttribute> attributes, Node? contentHolder, List<DOMNode> ? contentNodes) - UIEventListener = void Function(dynamic event, List? params)
- URLFilter = URLLink Function(String url)