CLink constructor

CLink({
  1. Key? key,
  2. bool enable = true,
  3. required String url,
  4. required void onTap(
    1. String url
    ),
  5. double fontSize = 14,
  6. String? caption,
})

Implementation

CLink({
  Key? key,
  bool enable = true,
  required String url,
  required void Function(String url) onTap,
  double fontSize = 14,
  String? caption,
})  : props = CLinkProps(
        caption: caption,
        url: url,
        fontSize: fontSize,
        enable: enable,
        onTap: onTap,
      ),
      super(key: key);