parrot 0.0.6
parrot: ^0.0.6 copied to clipboard
Parrot is a modular Dart framework for building efficient, reliable, and scalable applications.
import 'package:parrot/parrot.dart';
name(ref) => 'Parrot';
hello(ref) => 'Hello ${ref(name)}';
final root = Module(
providers: {name, hello},
);
void main() async {
final app = Parrot(root);
print(await app.resolve(hello));
}