显示当前位置和半径的信息

问题描述

我想显示一些包含用户当前位置和半径的信息。我使用 GeoFlutterFire 来显示一些带有半径和当前位置的标记。现在,由于当前位置,我想在卡片中显示一些信息,例如商店信息。它基于从 Firebase 检索数据(如名称、地址、地理点)的 ListView。我不知道我该怎么做。

谢谢

                 Positioned(
                  bottom: 10.0,child: Container(
                    height: 200.0,width: MediaQuery.of(context).size.width,child: ListView.builder(
                      physics: const NeverScrollableScrollPhysics(),itemCount: magasins.length,itemBuilder: (context,index) {
                        double value = 1;
                        return Container(
                          height: 200,child: PageView.builder(
                            controller: _pageController,int index) {
                              return AnimatedBuilder(
                                animation: _pageController,builder: (context,widget) {
                                  return Center(
                                    child: SizedBox(
                                      height: Curves.easeInOut
                                              .transform(value) *
                                          125.0,width: Curves.easeInOut
                                              .transform(value) *
                                          350.0,child: widget,),);
                                },

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)