List
VelocityX includes the pre-build Ordered and Unordered list which can be used directly in the application to list different widgets.
Above shows examples of the VxDiskList and the VxDecimalList widgets respectively.
VxDiscList class
VxDiscList is a pre-build widget which will allow you to create unordered bulleted (disc) list.
Above code displays all the list with the disc before label
VxDiscList Constructor
VxDiscList Properties
Key key : Controls how one widget replaces another widget in the tree.
List<String> _items : The String to displyed on screen.
EdgeInsetsGeometry padding : The amount of space by which to inset the items.
Color color : Defines Color of List items.
double fontSize : Defines the font size of List Items.
bool primary : Whether this is the primary scroll view associated with the parent.
VxDecimalList class
VxDecimalList is a pre-build widget which will allow you to create ordered bulleted (Decimal Number) list.
Above code displays all the list with the numbers starting form one before label
VxDecimalList Constructor
VxDecimalList Properties
Key key : Controls how one widget replaces another widget in the tree.
List<String> _items : The String to displyed on screen.
EdgeInsetsGeometry padding : The amount of space by which to inset the items.
Color color : Defines Color of List items.
double fontSize : Defines the font size of List Items.
bool primary : Whether this is the primary scroll view associated with the parent.