parrot 0.0.1 copy "parrot: ^0.0.1" to clipboard
parrot: ^0.0.1 copied to clipboard

outdated

Parrot is a progressive Dart framework for building efficient, reliable and scalable server-side applications.

example/main.dart

import 'package:parrot/parrot.dart';

@Injectable()
class SimpleService {
  void say() {
    print('Hello, 🦜 Parrot!');
  }
}

@Module(
  providers: [SimpleService],
)
class SimpleModule {}

@Module(
  dependencies: [SimpleModule],
)
class AppModule {}

void main() async {
  // Create a parrot application.
  final ParrotApplication app = await ParrotApplication.create(AppModule);

  // Resolve [SimpleService] from the application.
  final SimpleService simple = await app.resolve(SimpleService);

  // Call say method.
  simple.say(); // Hello, 🦜 Parrot!
}
1
likes
0
pub points
0%
popularity

Publisher

verified publisherodroe.com

Parrot is a progressive Dart framework for building efficient, reliable and scalable server-side applications.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

path

More

Packages that depend on parrot