Update main.dart

Directives -> DirectiveRegistry