Skip to content

Instantly share code, notes, and snippets.

@diefferson
Created June 8, 2021 00:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diefferson/d946a2d5f08c6db35ebce79443fc2621 to your computer and use it in GitHub Desktop.
Save diefferson/d946a2d5f08c6db35ebce79443fc2621 to your computer and use it in GitHub Desktop.
Stark params
import 'package:stark/stark.dart';
final myModule = {
singleWithParams((i,p) => Api(p["token"])),
factoryWithParams((i,p) => MyPresenter(p["view"])),
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment