hasShellFor function

bool hasShellFor(
  1. String projectRoot
)

Implementation

bool hasShellFor(String projectRoot) {
  final f = File(p.join(projectRoot, 'lib', 'preview', 'shell.dart'));
  return f.existsSync() && f.readAsStringSync().contains('Widget shell(');
}