Skip to content

Instantly share code, notes, and snippets.

View DmitriySosnovskiy's full-sized avatar
😎

Dmitriy Sosnovskiy DmitriySosnovskiy

😎
View GitHub Profile
/// Dependencies
abstract interface class Dependencies {
/// The state from the closest instance of this class.
factory Dependencies.of(BuildContext context) => InheritedDependencies.of(context);
/// App metadata
abstract final AppMetadata appMetadata;
/// Database
abstract final Database database;