editLink static method

Future<String?> editLink({
  1. String? existing,
})

Prompts for a link href. Returns an empty string to remove the link.

Implementation

static Future<String?> editLink({String? existing}) => UNavigator.inputDialog(title: U.s.insertLink, hint: U.s.url, defaultValue: existing ?? "https://");