v0.2.0, audio loop and rectangle textures

This commit is contained in:
Luan Nico
2017-10-22 13:44:06 -02:00
parent 58ed937d61
commit 37252b8159
6 changed files with 62 additions and 18 deletions

View File

@ -1,10 +1,11 @@
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'dart:async';
import 'dart:ui';
class Util {
Future<Size> initialDimensions() async {
// https://github.com/flutter/flutter/issues/5259
// "In release mode we start off at 0x0 but we don't in debug mode"
@ -21,4 +22,11 @@ class Util {
return window.physicalSize;
});
}
}
void enableEvents() {
new CustomBinder();
}
}
class CustomBinder extends BindingBase with ServicesBinding {
}