velocity_x library

Classes

HeightBox
SizedBox widget with specific height
HStack
A widget that displays its children in a horizontal array. [...]
MaterialResponsiveUiData
A class that can be queried for breakpoints based on the guidelines in https://material.io/guidelines/layout/responsive-ui.html .
MobileDeviceInfo
Combines MobileDeviceType and MobileDeviceSize.
PKCardPageSkeleton
PKCardPageSkeleton can be used to provide a Card Page loading card with PKSkeleton cool animation.
PKCardProfileSkeleton
PKCardProfileSkeleton can be used to provide a profile loading card with PKSkeleton cool animation.
RenderVxAppBarTitleBar
SquareBox
SizedBox widget with equal width & height
VelocityTwoIconColumn
Can be used for two widgets and one icon together vertically .
VelocityXTextSpan
VStack
A widget that displays its children in a vertical array. [...]
VxAnimatedBox
VxAnimatedBox is similar to AnimatedContainer with the advantages of VxBox
VxAppBar
The VxAppBar displays the toolbar widgets, leading, title, and actions, above the bottom (if any). The bottom is usually used for a TabBar.
VxAppBarTitleBar
VxBlock
A widget that displays its children in a one-dimensional array. [...]
VxBox
A convenience widget that combines common painting, positioning, and sizing widgets. [...]
VxCard
A material design card: a panel with slightly rounded corners and an elevation shadow. [...]
VxConditional
Runs a WidgetBuilder's result if the condition is true. [...]
VxConditionalSwitch
Renders widgets based on switch case conditions Example: [...]
VxDash
VelocityX widget to show Dashes with gaps if needed. It can be vertical or horizontal.
VxDecimalList
VxDecimalList is inspired from html where you can have a numeric index with an item (string) Use VxDecimalList to have a list of strings with index.
VxDevice
VxDevice widget can be used for making responsive apps based on if it's mobile or web. In case, if you want more options based on window size, use VxResponsive. You can specify two widgets depends on the screen size mobile and web. They must not be null.
VxDiscList
VxDiscList is inspired from html where you can have a circular disk with an item (string) Use VxDiscList to have a list of strings with circular disk of boxes with a defined color.
VxEnsureVisibleWhenFocused
Helper class that ensures a Widget is visible when it has the focus For example, for a TextFormField when the keyboard is displayed [...]
VxInlineBlock
VxNeumorph
VxNeumorph class to accept list of shadows and a Gradient
VxPopupMenu
VxPopupMenu can help you in creating custom popup menus using overlay entry.
VxPopupMenuController
VxPopupMenuController gives you access to hide the menu or toggle it using showMenu, hideMenu & toggleMenu.
VxRandomBox
A Container Widget that takes up a given width and height and paints itself with a random color.
VxResponsive
VelocityResponsive widget can be used for making responsive apps based on different window sizes. You can specify multiple widgets depends on the screen size like xsmall, small, medium,large, and xlarge. The fallback must not be null. It will be replaced if you don't specity any above widget.
VxRichText
Creates a AutoSizeText widget with a TextSpan.
VxScrollHorizontal
Widget to directly access SingleChildScrollView horizontally.
VxScrollVertical
Widget to directly access SingleChildScrollView vertically.
VxSelectableTextBuilder
A run of selectable text with a single style. [...]
VxShifter
Use it to pin and shift widget useful for making complex ui Eg Container( height: 200, width: 200, decoration: BoxDecoration(shape: BoxShape.circle, color: Color(0xffE0D8F9) ), ).shift(100, alignment: Alignment.bottomRight) ,
VxShimmer
VxShimmer widget can be used to provide shimmer effect to any widget.
VxSwiper
Use this widget VxSwiper to give your list a swipeable effect with full customization.
VxTextBuilder
Flutter widget that automatically resizes text to fit perfectly within its bounds. [...]
VxTextDropDown
A material design button for selecting from a list of items. [...]
VxTwo
Can be used for two texts together vertically or horizontally.
VxTwoColumn
Can be used for two widgets together vertically.
VxTwoRow
Can be used for two widgets together horizontally.
VxZeroCard
VxZeroCard can be used to provide a single loading card with PKSkeleton cool animation.
VxZeroList
VxZeroList can be used to provide a list of loading cards with PKSkeleton cool animation.
WidthBox
SizedBox widget with specific width
ZStack
A widget that positions its children relative to the edges of its box. [...]

Mixins

Vx
Mixin Vx provides basic operations and utilities

Extensions

AnimatedContainerWidgetExtension
CardExtension
CenterBuilderExtension
CenterExtension
Center the widget
ContainerWidgetExtension
ContextExtensions
Extensions for general basic Context
DateTimeExtension
Date Time Extension Methods
GestureExtensions
IntExtension
Extension method for integers.
IterableBasics
Utility extension methods for the native Iterable class.
ListStringExtension
ListWidgetExtension
Extension Methods for List of widgets.
NumExtension
Extension Methods & Widgets for the numbers
NumIterableBasics
Utility extension methods for Iterables containing nums.
ObjectExtensions
Extension Methods for Alignment of the objects.
OpacityExtension
Extension method for providing opacity on the top of widgets
PaddingExtensions
Extension to provide Padding to any widget.
RandomContainerWidgetExtension
Random Color box extension method
ScrollExtension
Extension method to directly access SingleChildScrollView with any widget without wrapping or with dot operator.
SelectableTextExtensions
ShiftWidgetExt
ShimmerExtension
SizedBoxExtension
A box with a specified size. [...]
StringExtension
Extension Methods & Widgets for the strings
StringWidgetsExtension
TextExtensions
ThemeExtension
Extension method to directly access material Theme with any widget without wrapping or with dot operator.
TransformExtension
Extension method to directly transform any widget without wrapping or with dot operator.
VelocityXRichTextExtension
VelocityXTextSpanExtension
VxIcon
Extension method to directly access Icon.
WidgetsExtension

Functions

asyncGuard<T>(Future<T> callback(), [T defaultValue]) Future<T>
Evaluates the function asynchonically wrapping the body with try/catch and returns default value if error was raised or return value is null Originally available at https://pub.dev/packages/guard
guard<T>(T callback(), [T defaultValue]) → T
Evaluates the function wrapping the body with try/catch and returns default value if error was raised or return value is null Originally available at https://pub.dev/packages/guard
myBoxDec(dynamic animation, {dynamic isCircle = false, dynamic isDark = false}) Decoration
myBoxDesc to reuse with PKSkeleton

Enums

MobileDeviceSize
Symbolic sizes of mobile devices. [...]
MobileDeviceType
Types of mobile devices. [...]
MobileWindowSize
Symbolic window sizes of mobile devices.
VxClickType
Provide click type either longClick or singleClick
VxCurve
VxCurve to provide different types of curves to the neumorphic design. concave is default.

Typedefs