orderedList method

Widget orderedList({
  1. Key? key,
  2. Color color = Colors.black,
  3. double? fontSize,
  4. EdgeInsetsGeometry? padding,
  5. ScrollPhysics? physics,
  6. bool? primary,
  7. bool shrinkWrap = true,
  8. VxListType type = VxListType.decimal,
})

Extension for using VxOrderedList directly with list of strings.

Implementation

Widget orderedList({
  Key? key,
  Color color = Colors.black,
  double? fontSize,
  EdgeInsetsGeometry? padding,
  ScrollPhysics? physics,
  bool? primary,
  bool shrinkWrap = true,
  VxListType type = VxListType.decimal,
}) =>
    VxOrderedList(
      this,
      key: key,
      padding: padding,
      fontSize: fontSize,
      color: color,
      physics: physics,
      primary: primary,
      shrinkWrap: shrinkWrap,
      type: type,
    );