clean up example project

This commit is contained in:
Nick Fisher
2022-04-05 13:22:48 +10:00
parent f4f7d28388
commit 4da1544a50
2 changed files with 4 additions and 10 deletions

View File

@@ -29,6 +29,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 31
ndkVersion "23.1.7779620"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8

View File

@@ -1,9 +1,5 @@
import 'dart:math';
import 'package:flutter/material.dart';
import 'package:polyvox_filament/filament_controller.dart';
import 'package:polyvox_filament/gesture_detecting_filament_view.dart';
import 'package:polyvox_filament/view/filament_view.dart';
import 'package:polyvox_filament/view/filament_widget.dart';
void main() {
@@ -38,13 +34,10 @@ class _MyAppState extends State<MyApp> {
title: const Text('Plugin example app'),
),
body: Stack(children: [
Center(
child: Container(
width: 400,
height: 400,
child: FilamentWidget(
Positioned.fill(
child: FilamentWidget(
controller: _filamentController,
),
)),
Positioned.fill(
child: Wrap(