HtmlRuby constructor

HtmlRuby({
  1. Key? key,
  2. Widget? rt,
  3. Widget? ruby,
})

Creates a RUBY widget.

Implementation

HtmlRuby({
  super.key,
  Widget? rt,
  Widget? ruby,
}) : super(
        children: [
          if (ruby != null) ruby,
          if (rt != null) rt,
        ],
      );