Flutter Riverpod/Provider: Setting an initial state for a stateNotifier

前端 未结 0 553
野趣味
野趣味 2020-12-06 19:46

So I want to have a provider who\'s initial state will be the a user\'s location, this is what I have now, is this right?

import \'package:flutter/foundation.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题