rendering correctly with backing window but some issues re pixel density, scroll & foregrounding on start
This commit is contained in:
@@ -2,6 +2,7 @@ import 'dart:async';
|
||||
import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:permission_handler/permission_handler.dart';
|
||||
import 'package:polyvox_filament/animations/animation_data.dart';
|
||||
|
||||
@@ -14,7 +15,7 @@ import 'package:path_provider/path_provider.dart';
|
||||
import 'package:polyvox_filament/widgets/filament_gesture_detector.dart';
|
||||
import 'package:polyvox_filament/widgets/filament_widget.dart';
|
||||
|
||||
void main() {
|
||||
void main() async {
|
||||
runApp(const MyApp());
|
||||
}
|
||||
|
||||
@@ -30,8 +31,10 @@ class _MyAppState extends State<MyApp> with SingleTickerProviderStateMixin {
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
// showPerformanceOverlay: true,
|
||||
color: Colors.white,
|
||||
home: Scaffold(backgroundColor: Colors.white, body: ExampleWidget()));
|
||||
home: Scaffold(
|
||||
body:
|
||||
ExampleWidget()
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user