flutter_eui library
Classes
- AdaptiveTheme
- Widget that allows to switch themes dynamically. This is intended to be used above MaterialApp. Example:
- AssetLottie
- CupertinoAdaptiveTheme
- Widget that allows to switch themes dynamically. This is intended to be used above CupertinoApp. Example:
- DebugFloatingThemeButton
- A button that allows to change the theme on the fly. This is like a floating chat bubble kind of button/s which can be moved around or clicked show/hide itself at the right edge of the screen.
- DebugFloatingThemeButtonWrapper
- DropShadow
- EActionThemeSwith
- EColor
- EColors
- EConfig
- EIconButtonClose
- EIconButtonCloseBack
- EIconButtonCopy
- EIconButtonEdit
- EIconButtonFilter
- EIconButtonHelp
- EIconButtonHistory
- EIconButtonNotice
- EIconButtonPerson
- EIconButtonQrcode
- EIconButtonRefresh
- EIconButtonSearch
- EIconButtonSwap
- FileLottie
- FrameRate
-
InheritedAdaptiveTheme<
T extends Object> - An inherited widget that saves provides current mode, theme, dark theme and brightness to its children. This is an internal widget and should not be used directly.
- Lottie
- A widget to display a loaded LottieComposition. The controller property allows to specify a custom AnimationController that will drive the animation. If controller is null, the animation will play automatically and the behavior could be adjusted with the properties animate, repeat and reverse.
- LottieBuilder
- A widget that displays a Lottie animation.
- LottieCache
- LottieComposition
- LottieDelegates
- LottieDrawable
- LottieFontStyle
- LottieImageAsset
- LottieOptions
- LottieProvider
- Marker
- MemoryLottie
- NetworkLottie
- RawLottie
- A widget that displays a LottieDrawable directly.
- Styled
-
ValueDelegate<
T>
Enums
- AdaptiveThemeMode
- Represents the mode of the theme.
Mixins
-
AdaptiveThemeManager<
T extends Object> - Entry point to change/modify theme or access theme related information from AdaptiveTheme. An instance of this can be retrieved by calling AdaptiveTheme.of.
Extensions
- EuiMouseExtension on Widget
- StyledIcon on T
-
StyledList
on List<
Widget> - StyledText on T
- StyledTextSpan on T
- StyledWidget on Widget
Constants
- kHandleWidth → const double
- kThemeButtonHeight → const double
Functions
-
alert(
BuildContext context, String tip, {bool? isDarkMode, bool canDismiss = false, bool cancelBtn = false, VoidCallback? cb, String okText = "", String canCelText = ""}) → Future< void> -
eActionIcon(
{required BuildContext context, required String name, String? package, String? tooltip, Color? color, double? size, EdgeInsetsGeometry? padding, VoidCallback? onPressed}) → Widget -
showAnimatePage(
BuildContext context, Widget widget, {int animate = 0, bool root = true, bool fullscreenDialog = false, bool maintainState = false, bool replace = false}) → dynamic -
showLoading(
BuildContext context, {Widget? child, ThemeData? theme, bool? isDarkMode, String? text}) → void
Typedefs
- AdaptiveThemeBuilder = Widget Function(ThemeData light, ThemeData dark)
- Builder function to build themed widgets
- CupertinoAdaptiveThemeBuilder = Widget Function(CupertinoThemeData theme)
- Builder function to build themed widgets
-
CupertinoAdaptiveThemeManager
= AdaptiveThemeManager<
CupertinoThemeData> - GestureOnTapChangeCallback = void Function(bool tapState)
-
LottieImageProviderFactory
= ImageProvider<
Object> ? Function(LottieImageAsset)