mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Parse URLs
This commit is contained in:
@ -6,7 +6,7 @@ import 'package:flutter/material.dart';
|
||||
|
||||
/// This callback return null if the text has to be left as is or a TextSpan
|
||||
/// if it has been sub parsed...
|
||||
typedef ParseCallBack = List<TextSpan> Function(TextStyle, String);
|
||||
typedef ParseCallBack = List<InlineSpan> Function(TextStyle, String);
|
||||
|
||||
class BBCodeParsedWidget extends StatelessWidget {
|
||||
final _Element _content;
|
||||
@ -241,7 +241,6 @@ class _Element {
|
||||
|
||||
if (parsed != null && parsed.length > 0)
|
||||
return TextSpan(
|
||||
text: text,
|
||||
style: generatedStyle,
|
||||
children: parsed,
|
||||
);
|
||||
|
Reference in New Issue
Block a user