modular icon indicating copy to clipboard operation
modular copied to clipboard

How to pass arguments into Modular.get (eg. BuildContext)?

Open Air-Craft opened this issue 3 years ago • 0 comments

Describe the question I'm wondering whether its possible to pass in arguments in the getter, equivalent to get_it's registerFactoryParam (link). Otherwise what is the expected behaviour to pass in a BuildContext for instance?

Air-Craft avatar Nov 03 '22 12:11 Air-Craft