initState method

  1. @override
void initState()
override

Implementation

@override
void initState() {
  if (!Directory(getBuildDir()).existsSync()) {
    Directory(getBuildDir()).createSync();
  }
  compile();
  super.initState();
}