Best Practice
Not a substitute for Provider et al
Place ScopeKeys in their own library
import 'package:scope/scope.dart';
final ageKey = ScopeKey<int>();
final nameKey = ScopeKey<String>();
final monthKey = ScopeKey<String>();
final dbKey = ScopeKey<Db>();Use scope when you have to pass values down
Consider Scope for server side apps
Use Scope in Flutter apps
Used debugName
Replace Singletons
Use Scope in unit tests
Use Scope just about everywhere
Document your injected values
Create Wrapper classes
Last updated