Florent
Florent

Reputation: 29

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 displayed in a Text widget, I can't manage to get this XML file and use only this field.

Upvotes: 1

Views: 95

Answers (1)

Hadi Norouzi
Hadi Norouzi

Reputation: 199

You can use this package for parsing xml and find the tag and key https://pub.dev/packages/xml

Upvotes: 1

Related Questions