circle_ui_navigator library
Classes
-
The widget. Set up as a child of CircleNavigatorConfig.
It's children are:
AnimatedRippleBackground
and PositionedIconsCircle
- Entry point of the library. config - Config class responsible for customization the widget. child - CircleNavigator. The core widget.
- Config
- center - central point of the widget and background ripple animation. It's up to you to be sure that the widget is on the screen. animatedRippleColor - color of the background ripple animation filledCircleColor - color of the circle whose radius intersects icons isOpeningAnimation - is the opening animation happenning at the moment onOpenAnimationComplete - lambda to call for open animation isClosingAnimation - is the closing animation happenning at the moment onCloseAnimationComplete - lambda to call for close animation circleAnimationDuration - circle navigator animation in milliseconds backgroundAnimationDuration - background ripple animation in milliseconds iconSize - default size of the icon actionIcons contains predefined icons data. Icons count should be between 3 and 10. The widget looks gorgeous for 5, 6 or 7 icons. closeIcon contains predefined close icon data. It's the one in the middle of the widget.
- TappableIconData
-
Visual representation of
TappableIcon
assetPath - path to your local file color - icon color tappedColor - tapped icon color assetPath - lambda to call on icon tap event outerBorderColor - color of the border around icon outerBorderSize - size of the border around icon innerBorderColor - color of the border around icon between icon and outer border
Extensions
- BuildContextExtension on BuildContext
- File for utility functions in form of an extension
- ScreenSizesExtension on BuildContext
Constants
- animationDuration → const int