FLUTTER ECOSYSTEM

YeungKC/RubyText

ein Ruby-Text-Widget mit Flutter

Projektcover von RubyText
Stars
49
Forks
15
Letzter Push (UTC)
05.06.2023
Projektstatus
Aktiv
YeungKC GitHub avatar
GITHUB User

YeungKC ↗

One day you will die, Life is a journey.

SprachenDartSwiftHTMLKotlinObjective-C

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 6 Einträge

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen

RubyText

Pub

A ruby text widget with flutter.

https://raw.githubusercontent.com/YeungKC/RubyText/HEAD/Screenshot.png

Install

dependencies:
    ruby_text: <Latest version.>

Example

  RubyText(
    [
      RubyTextData(
        '検査',
        ruby: 'けんさ',
      ),
    ],
  );

Other

const RubyText(
  List<RubyTextData> data, {
  double spacing = 0.0,
  TextStyle? style,
  TextStyle? rubyStyle,
  TextAlign? textAlign,
  TextDirection? textDirection,
  bool? softWrap,
  TextOverflow? overflow,
  int? maxLines,
});

const RubyTextData(
  String text, {
  String? ruby, 
  TextStyle? style,
  TextStyle? rubyStyle,
  TextDirection? textDirection,
});

const RubySpanWidget(BuildContext context, RubyTextData data);