ElLink constructor

const ElLink({
  1. Key? key,
  2. required String href,
  3. required dynamic child,
  4. Color? color,
  5. Color? activeColor,
  6. ElLinkDecoration? decoration,
  7. MouseCursor cursor = SystemMouseCursors.click,
  8. LinkTarget target = LinkTarget.blank,
})

超链接小部件,链接跳转基于 url_launcher 第三方库,当鼠标悬停时会在左下角显示链接地址。

Implementation

const ElLink({
  super.key,
  required this.href,
  required this.child,
  this.color,
  this.activeColor,
  this.decoration,
  this.cursor = SystemMouseCursors.click,
  this.target = LinkTarget.blank,
});