flutter_aop 0.0.3+4 copy "flutter_aop: ^0.0.3+4" to clipboard
flutter_aop: ^0.0.3+4 copied to clipboard

Annotation driven proxies to add lightweight AOP style hooks to Flutter code.

example/lib/main.dart

import 'di.dart';
import 'login_service.dart';

Future<void> main() async {
  await configureDependencies();

  final service = getIt<LoginService>();
  await _successfulLogin(service);
}

Future<void> _successfulLogin(LoginService service) async {
  await service.login('gmail', 'gmail!');
}
0
likes
150
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

Annotation driven proxies to add lightweight AOP style hooks to Flutter code.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, flutter, glob, meta, source_gen

More

Packages that depend on flutter_aop