DraftTextView constructor

const DraftTextView({
  1. Key? key,
  2. required DraftData data,
  3. OnLinkTab? onLinkTab,
  4. TextStyle defaultStyle = const TextStyle(fontSize: 12, color: Colors.black),
  5. ScrollController? controller,
  6. EdgeInsets? padding,
})

Implementation

const DraftTextView(
    {Key? key,
    required this.data,
    this.onLinkTab,
    this.defaultStyle = const TextStyle(fontSize: 12, color: Colors.black),
    this.controller,
    this.padding})
    : super(key: key);