feat: fav article

Closes #727

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-23 11:59:48 +08:00
parent 0d27d88719
commit a0abd472e0
9 changed files with 120 additions and 15 deletions

View File

@@ -16,8 +16,7 @@ Widget htmlRender({
Function(List<String>, int)? callback,
}) {
debugPrint('htmlRender');
return SelectionArea(
child: Html(
return Html(
data: htmlContent,
onLinkTap: (String? url, Map<String, String> buildContext, attributes) {},
extensions: [
@@ -124,5 +123,5 @@ Widget htmlRender({
margin: Margins.zero,
),
},
));
);
}