rand dart fix
This commit is contained in:
@@ -62,7 +62,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
),
|
||||
Text(
|
||||
'$_counter',
|
||||
style: Theme.of(context).textTheme.headline4,
|
||||
style: Theme.of(context).textTheme.headlineMedium,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -32,7 +32,6 @@ class WasmLoader extends WasmImpl {
|
||||
|
||||
@override
|
||||
Future<bool> init() async {
|
||||
assert(_path != null);
|
||||
final _data = await rootBundle.load(_path);
|
||||
_wasm = await Instance.fromBufferAsync(_data.buffer);
|
||||
return isReady;
|
||||
|
||||
Reference in New Issue
Block a user