What is the approach to this problem? Can I do everything from app or I need to use cloud functions to save/get saved card?
What is the approach to this problem? Can I do everything from app or I need to use cloud functions to save/get saved card?
Both "saving card for later use" [0] and "get saved card" [1] are both secret-key operations only, so those should be driven from your server-side code / cloud function.
The publishable key (the API key you use in your Flutter app) isn't capable of fetching/attaching saved cards to Customer objects, in Stripe. You can imagine the security concern if this were supported, that someone could use your publishable key (it is a public key) to list another Customer's saved cards.
Here is the document you are looking for: https://stripe.com/docs/payments/save-and-reuse