title: NoSuchMethodError : Class 'Text' has no instance method 'split' in Flutter
body: <p>I am fetching the text data from API call and the output is <code>18:00</code> from API call, then I try to split the output data that is '18' in one variable and <code>00</code> in another variable. After that I pass this two variable in print object and then run the code, It shows:</p>
  
  <pre><code>NoSuchMethodError : Class 'Text' has no instance method 'split' receiver: Instance of 'Text' Tried calling : split (":"). 
  </code></pre>
  
  <p>Below is the code hope you can understand what i mean.</p>
  
  <pre class="lang-dart prettyprint-override"><code>        class HomePage extends StatefulWidget {
            @override
            _HomePageState createState() =&gt; _HomePageState();
          }
  
          class _HomePageState extends State&lt;HomePage&gt; {
            static var api;
            List&lt;String&gt; dataList2;
            @override
            Widget build(BuildContext context) {
          return Scaffold(
          Column(
      children:widget[
          api=Text(item[pos].asr), //the Text widget which has data are from api call
          dataList2 = api.split(':'),
          print(dataList2);
      ]
      )
          ) 
          }}
  </code></pre>