title: How can I set my Widgets's position from the API?
body: <p>I tried this but didn't work</p>
  <pre><code>class _HomePageState extends State&lt;HomePage&gt; {
    TextManger textManger = TextManger();
  
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        // backgroundColor: Colors.red,
        body: StreamBuilder&lt;List&lt;TextM&gt;&gt;(
            stream: textManger.contactListView,
            builder: (context, snapshot) {
              if (snapshot.connectionState == ConnectionState.waiting) {
                return Center(
                  child: CircularProgressIndicator(),
                );
              }
              return Stack(
                children: [
                  Positioned(
                    left: MediaQuery.of(context).size.width * (snapshot.data[0].x.toDouble() / 100),
                    top: MediaQuery.of(context).size.height * (snapshot.data[0].y.toDouble() / 100),
                    // left: snapshot.data[0].x.toDouble()  ,
                    // top: MediaQuery.of(context).size.height * snapshot.data[0].y.toDouble()  / 100 ,
                    child: Transform.rotate(
                      angle: snapshot.data[0].rotate.toDouble() * math.pi / 180,
                      child: Text(
                        snapshot.data[0].textContent,
                        style: TextStyle(
                          color: HexColor(snapshot.data[0].color),
                          fontSize: snapshot.data[0].fontSize.toDouble(),
                          // fontSize: snapshot.data[0].fontSize.toDouble(),
                        ),
                      ),
                    ),
                  ),
                ],
              );
            }),
      );
    }
  }
  </code></pre>