windows working (SLOW) with pixel buffer copy
This commit is contained in:
@@ -7,6 +7,8 @@ import 'package:polyvox_filament/filament_gesture_detector.dart';
|
||||
import 'package:polyvox_filament/filament_widget.dart';
|
||||
import 'package:polyvox_filament/animations/animation_builder.dart';
|
||||
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
|
||||
void main() {
|
||||
runApp(const MyApp());
|
||||
}
|
||||
@@ -24,7 +26,7 @@ class _MyAppState extends State<MyApp> with SingleTickerProviderStateMixin {
|
||||
return MaterialApp(
|
||||
// showPerformanceOverlay: true,
|
||||
color: Colors.white,
|
||||
home: Scaffold(backgroundColor: Colors.lightBlue, body: ExampleWidget()));
|
||||
home: Scaffold(backgroundColor: Colors.white, body: ExampleWidget()));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,9 +58,12 @@ class _ExampleWidgetState extends State<ExampleWidget> {
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
getApplicationSupportDirectory().then((dir) {
|
||||
print(dir);
|
||||
});
|
||||
super.initState();
|
||||
}
|
||||
|
||||
|
||||
Widget _item(void Function() onTap, String text) {
|
||||
return GestureDetector(
|
||||
onTap: onTap,
|
||||
@@ -247,7 +252,7 @@ class _ExampleWidgetState extends State<ExampleWidget> {
|
||||
return Stack(children: [
|
||||
Positioned(
|
||||
bottom: 100,
|
||||
height:400, width:400,
|
||||
height:768, width:1024,
|
||||
child: FilamentGestureDetector(
|
||||
showControlOverlay: true,
|
||||
controller: _filamentController,
|
||||
|
||||
Reference in New Issue
Block a user