screenBuilder function
Builder
screenBuilder(
- BuilderOptions options
This is the builder entry point for @Screen Annotation
Implementation
Builder screenBuilder(BuilderOptions options) {
///
/// in case where no screen has been annotated, we'll create empty file
///
File(kKareeScreensFile).writeAsStringSync('''/// Generated buy Karee\n'''
'''///\n'''
'''///Do not modifyn\n\n'''
'''\tList<Map<Symbol, dynamic>> screens = [\n\n\t];\n''');
var builder = SharedPartBuilder([ScreenGenerator()], 'screen');
return builder;
}