LemonEngine constructor

LemonEngine({
  1. String? title,
  2. ThemeData? themeData,
  3. Color backgroundColor = Colors.black,
  4. int? updateFps,
})

Implementation

LemonEngine({
  this.title,
  this.themeData,
  this.backgroundColor = Colors.black,
  int? updateFps,
}){
  // this.watchMouseLeftDown.onChanged(_internalOnChangedMouseLeftDown);
  if (updateFps != null){
    setUpdateFPS(updateFps);
  } else {
    restartUpdateTimer();
  }
}