beagle library Null safety

Classes

AnalyticsConfig
This interface is used to create the analytics recording according to rendering process and actions execute
AnalyticsProvider
This interface is used to start the configuration of analytics, without this the analytics will not be reported.
AnalyticsRecord
This interface is used to represent the report generated by the analytics
BeagleAccessibility
The accessibility will enable a textual information to explain the view content in case a screen reader is used.
BeagleAction
BeagleAlert
BeagleConfirm
BeagleDataContext
BeagleFlex
BeagleFlexWidget
same as Flex from Flutter, but with the default values used by Beagle
BeagleImageDownloader
BeagleLogger
API for sending log output.
BeagleNavigator
BeagleNode
BeagleNodeData
BeagleOpenExternalUrl
BeagleOpenNativeRoute
BeagleProvider
BeagleProviderState
BeagleRequest
BeagleRequest is used to do requests.
BeagleRootNode
BeagleRoute
BeagleService
BeagleSize
BeagleStyle
BeagleUIElement
BeagleUndefinedWidget
A Undefined widget that displays a string of text.
BeagleView
BeagleViewWidget
BeagleWidget
A widget that displays content of beagle.
BeagleWidgetState
ComponentBuilder
CornerRadius
DefaultBeagleImageDownloader
DefaultEmptyLogger
DefaultHttpClient
DefaultLogger
DefaultNavigationController
DefaultViewClient
EdgeValue
EdgeValues
EnumUtils
GlobalContext
A Global Context is a class that can assume a value of any variable type. This is similar to a map that defines a subset of key/value or complex JSONs objects that defines object trees.
HexColor
HttpAdditionalData
HttpClient
TODO: NEED ADD DOCUMENTATION
Level
Levels to control logging output.
LocalContext
A Local Context is a class that can assume a value of any variable type. This is similar to a map that defines a subset of key/value or complex JSONs objects that defines object trees. Differently than Global Context, Local Contexts are attached to the Beagle View, and Managed by a LocalContextsManager, which each view has its own instance.
LocalContextsManager
LocalView
RemoteView
Renderer
Response
RootNavigator
Main Beagle Navigator
RootNavigatorState
StackNavigator
This Navigator is internally used by the RootNavigator. It should never be used outside a RootNavigator.
StatefulStyled
StyleConfig
Styled
StyledState<T extends StatefulStyled>
Builds the state for a widget that layout its children according to server side rules.
StyleUtils
TemplateManager
TemplateManagerItem
UnitValue
UrlBuilder
Helper to build urls relative to the baseUrl
ViewClient

Mixins

BeagleConsumer<T extends StatefulWidget>

Constants

ERROR_COMPONENT_NAME → const String
"custom:error"
FLEX_PRECISION → const int
1000
LOADING_COMPONENT_NAME → const String
"custom:loading"

Functions

findAncestorBeagleView(BuildContext context) BeagleView
findBeagleService(BuildContext context) BeagleService
openBeagleScreen({required BeagleRoute route, required BuildContext context, ScreenBuilder? screenBuilder, NavigationController? initialController}) → void

Enums

AlignContent
AlignItems
AlignSelf
BeagleEnvironment
Enum responsible for informing Beagle about the current build status of the application.
BeagleHttpMethod
Http method to indicate the desired action to be performed for a given resource.
FlexDirection
FlexDisplay
FlexPosition
FlexWrap
JustifyContent
TreeUpdateMode
UnitType

Typedefs

ActionHandler = void Function({required BeagleAction action, required BuildContext context, required BeagleUIElement element, required BeagleView view})
TODO: NEEDS ADD DOCUMENTATION
Operation = dynamic Function(List args)
RemoveListener = void Function()
RetryFunction = Future<void> Function()
ScreenBuilder = Widget Function(BeagleWidget beagleWidget, BuildContext context)
ViewChangeListener = void Function(BeagleUIElement tree)

Exceptions / Errors

BeagleImageDownloaderException