HtmlListItem constructor

HtmlListItem({
  1. Widget? child,
  2. Key? key,
  3. Widget? marker,
  4. required TextDirection textDirection,
})

Creates a list item widget.

Implementation

HtmlListItem({
  Widget? child,
  super.key,
  Widget? marker,
  required this.textDirection,
}) : super(
        children: child != null
            ? [
                child,
                if (marker != null) marker,
              ]
            : const [],
      );