|
|
@ -164,16 +164,18 @@ class _NotesNotePageState extends State<NotesNotePage> { |
|
|
|
border: InputBorder.none, |
|
|
|
border: InputBorder.none, |
|
|
|
), |
|
|
|
), |
|
|
|
) |
|
|
|
) |
|
|
|
: MarkdownBody( |
|
|
|
: SingleChildScrollView( |
|
|
|
data: _contentController.text, |
|
|
|
child: MarkdownBody( |
|
|
|
onTapLink: (final text, final href, final title) async { |
|
|
|
data: _contentController.text, |
|
|
|
if (href != null) { |
|
|
|
onTapLink: (final text, final href, final title) async { |
|
|
|
await launchUrlString( |
|
|
|
if (href != null) { |
|
|
|
href, |
|
|
|
await launchUrlString( |
|
|
|
mode: LaunchMode.externalApplication, |
|
|
|
href, |
|
|
|
); |
|
|
|
mode: LaunchMode.externalApplication, |
|
|
|
} |
|
|
|
); |
|
|
|
}, |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|