parsed_readmore 0.0.1 parsed_readmore: ^0.0.1 copied to clipboard
A Flutter text widget which is expandable and can automatically parse urls present in the text it into clickable links.
import 'package:example/demo_page.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const ParsedReadMoreDemo(),
);
}
}