sdui library

Classes

ChartData
DynamicRoute
Dynamic Route
DynamicRouteState
Http
HttpInterceptor
HttpRequestInterceptor is invoked for each HTTP request.
HttpJsonInterceptor
HttpRequestResponse
HttpRequestResponse is invoked for each HTTP response.
HttpRouteContentProvider
Static implementation of RouteContentProvider with static content
LoggerFactory
LogPrinterImpl
MoneyText
Widget to display monetary text
RequestTemplate
ResponseTemplate
RouteContentProvider
Returns the content of a route
SDUIAction
Descriptor of a widget behavior. This class can be used to:
SDUIAnalytics
Class for handling the analytics. This class does nothing. It's up the the application using this library to provide it's own implementation and set the global variable sduiAnalytics.
SDUIAppBar
Descriptor of an AppBar.
SDUIAspectRatio
Descriptor of a AspectRatio
SDUIBadge
Descriptor of a Badge
SDUIBottomNavigationBar
SDUIBottomNavigationBarItem
SDUIButton
Descriptor of a button
SDUICamera
Descriptor of a Camera.
SDUICarouselSlider
Descriptor of a CarouselSlider
SDUICenter
Descriptor of a Center
SDUIChart
Class for handling the analytics. This class does nothing. It's up the the application using this library to provide it's own implementation and set the global variable sduiAnalytics.
SDUIChip
Descriptor of a Chip
SDUICircleAvatar
Descriptor of an CircleAvatar.
SDUIClipRRect
Descriptor ClipRRect.
SDUIColumn
Descriptor of a Column
SDUIContainer
Descriptor of a Container.
SDUIDefaultTabController
Descriptor of an DefaultTabController.
SDUIDialog
Descriptor of a AlertDialog
SDUIDivider
Descriptor of an Divider.
SDUIDropdownButton
Descriptor of a DropdownButtonFormField
SDUIDropdownMenuItem
Descriptor of a widget DropdownMenuItem.
SDUIDynamicWidget
SDUIRoute
SDUIExpandablePanel
Descriptor of ExpandablePanel.
SDUIExpanded
Descriptor of a Expanded
SDUIFittedBox
Descriptor of a FittedBox.
SDUIFlexible
Descriptor of a Flexible
SDUIForm
Descriptor of Form
SDUIFormDataProvider
Interface for managing the state of a form.
SDUIFormField
Interface for attaching a form with its fields
SDUIGridView
Descriptor of a GridView
SDUIIcon
Descriptor of an Icon or ImageIcon
SDUIIconButton
Descriptor of an IconButton
SDUIImage
Descriptor of a CachedNetworkImage
SDUIInput
Descriptor of a form Input
SDUIL10n
SDUIL10nEn
SDUIL10nFr
SDUIListItem
Descriptor of a ListTile
SDUIListItemSwitch
Descriptor of a SwitchListTile
SDUIListView
Descriptor of a ListView
SDUIMoneyText
Descriptor of MoneyText
SDUIMoneyWithKeyboard
Descriptor of MoneyText with NumericKeyboard
SDUIMoneyWithSlider
Descriptor of MoneyText with Slider
SDUINoop
SDUINull
Component used
SDUIPage
Descriptor of the children of SDUIPageView
SDUIPageView
Descriptor of a PageView.
SDUIParser
Parser that convert JSON to flutter Widget
SDUIPhotoView
Descriptor of a PhotoView
SDUIPinWidthKeyboard
Descriptor of a PinCodeTextField with a NumericKeyboard
SDUIPositioned
SDUIQrImage
Descriptor of a QrImage
SDUIQrView
Descriptor of a QRView
SDUIRadio
Descriptor of a RadioListTile
SDUIRadioGroup
Descriptor of a radio group
SDUIRow
Descriptor of a Row
SDUIScreen
Descriptor of a screen, implemented as Scaffold
SDUISearchableDropdown
Descriptor of a SearchableDropdown
SDUISingleChildScrollView
Descriptor of a SingleChildScrollView
SDUISpacer
Descriptor of an Spacer
SDUIStack
Descriptor of a Stack
SDUITab
Descriptor of an Tab.
SDUITabBar
Descriptor of an TabBar.
SDUITabBarView
Descriptor of an TabBarView.
SDUIText
Descriptor of a Text
SDUITimeout
Descriptor of a Timeout component
SDUIWidget
Abstraction for describing a Flutter Widget. This descriptor has:
SDUIWidgetRegistry
Registry for 3rd party widgets
SDUIWrap
Descriptor of a Wrap
StaticRouteContentProvider
Static implementation of RouteContentProvider with static content

Properties

sduiAnalytics SDUIAnalytics
Analytics global variable
getter/setter pair
sduiCameras List<CameraDescription>
getter/setter pair
sduiDeeplinkHandler DeelinkHandler
This method convert a deeplink URI to an internal URL. If the deeplink URI is not recognize, this method should return null
getter/setter pair
sduiErrorState ErrorStateBuilder
Error state global variable. This is the page that will be displayed when an error occurs
getter/setter pair
sduiFirebaseIconAndroid String
Reference to the icon
getter/setter pair
sduiFirebaseMessageHandler FirebaseMessageHandler
Method called to handle the
getter/setter pair
sduiFirebaseTokenHandler FirebaseTokenHandler
Method called when the token is resolved
getter/setter pair
sduiL10 SDUIL10n
getter/setter pair
sduiLoadingState LoadingStateBuilder
Loading state This is the page displayed when the app move to loading state.
getter/setter pair
sduiProgressIndicator LoadingStateBuilder
Loading widget
getter/setter pair
sduiRouteObserver RouteObserver<ModalRoute>
Route observer to track route navigation so that we can reload screens when poped. See DynamicRouteState.didPopNext(). IMPORTANT: This route observer must be added to the application
final

Typedefs

ActionCallback = Future<String?> Function(BuildContext context)
DeelinkHandler = String? Function(Uri)
ErrorStateBuilder = Widget Function(BuildContext context, Object? error)
FirebaseMessageHandler = void Function(RemoteMessage)
FirebaseTokenHandler = void Function(String?)
LoadingStateBuilder = Widget Function(BuildContext context)
SDUIWidgetFactory = SDUIWidget Function()