ZugApp constructor

ZugApp(
  1. ZugClient client,
  2. String appName, {
  3. String splashLandscapeImgPath = "images/splash_land.png",
  4. String splashPortraitImgPath = "images/splash_port.png",
  5. Key? key,
  6. Level logLevel = Level.INFO,
})

Implementation

ZugApp(this.client, this.appName, {
  this.splashLandscapeImgPath = "images/splash_land.png",
  this.splashPortraitImgPath = "images/splash_port.png",
  super.key, Level logLevel = Level.INFO }) {
  Logger.root.level = logLevel;
  Logger.root.onRecord.listen((record) {
    print('${record.level.name}: ${record.time}: ${record.message}');
  });
  WidgetsFlutterBinding.ensureInitialized();
}