![](/img/trans.png)
[英]To use a public API to pull JSON data from the site and display it on a page asynchronously
[英]Use and display data from an API Flutter
I want to use data collected from this API ( https://aviationweather.gov/adds/dataserver_current/current/metars.cache.xml ) and use only one field, the <raw_text> of LFBL, I just want this field to be顯示在文本小部件中,我無法獲取此 XML 文件並僅使用此字段。
您可以使用此 package 解析 xml 並找到標簽和密鑰https://pub.dev/packages/xml
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.