title: How to fetch data(like news article containing url, inkwell objects and string) from firebase into flutter application?
body: <p>I have stored a news article content into firebase <a href="https://drive.google.com/file/d/1ufdEcD4U3jAiQH4m4HSBkXzqSI9lcBRT/view?usp=sharing" rel="nofollow noreferrer">as shown here</a></p>
  <p>P.S- Here links in curly braces attach to text preceding it.</p>
  <p>Here is my code to fetch it where &quot;Content&quot; is my field-</p>
  <pre><code>import 'package:cloud_firestore/cloud_firestore.dart';
  import 'package:flutter/material.dart';
  
  class Test extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return StreamBuilder(
          stream: FirebaseFirestore.instance
              .collection(&quot;Insights&quot;)
              .orderBy(&quot;Time&quot;, descending: true)
              .snapshots(),
          builder: (context, AsyncSnapshot&lt;QuerySnapshot&gt; snapshot) {
            return ListView.builder(
                itemCount: snapshot.data.docs.length,
                itemBuilder: (context, index) {
                  return Padding(
                    padding: const EdgeInsets.all(8.0),
                    child: Inkwell(
                        child: Text(
                      (snapshot.data.docs[index]['Content'])
                          .toString()
                          .replaceAll(&quot;\\n&quot;, &quot;\n&quot;),
                      style: TextStyle(fontSize: 18),
                    )),
                  );
                });
          });
    }
  }
  </code></pre>
  <p>I am getting the output as simple text. While I want to show data on flutter application as <a href="https://drive.google.com/file/d/1GXEyhNNKt6SYSC0WuhiSIc91239juvhT/view?usp=sharing" rel="nofollow noreferrer">shown here output</a></p>
  <p>P.S - Blue color texts are clickable strings which will redirect to links attached as shown in input data in curly braces.</p>
  <p>How can I achieve this? Is there any way to store data in firebase so that I can get output as shown in output image or is there any way to handle it in flutter application?</p>