clean up example project
This commit is contained in:
@@ -29,6 +29,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 31
|
compileSdkVersion 31
|
||||||
|
ndkVersion "23.1.7779620"
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
import 'dart:math';
|
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:polyvox_filament/filament_controller.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';
|
import 'package:polyvox_filament/view/filament_widget.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
@@ -38,13 +34,10 @@ class _MyAppState extends State<MyApp> {
|
|||||||
title: const Text('Plugin example app'),
|
title: const Text('Plugin example app'),
|
||||||
),
|
),
|
||||||
body: Stack(children: [
|
body: Stack(children: [
|
||||||
Center(
|
Positioned.fill(
|
||||||
child: Container(
|
child: FilamentWidget(
|
||||||
width: 400,
|
|
||||||
height: 400,
|
|
||||||
child: FilamentWidget(
|
|
||||||
controller: _filamentController,
|
controller: _filamentController,
|
||||||
),
|
|
||||||
)),
|
)),
|
||||||
Positioned.fill(
|
Positioned.fill(
|
||||||
child: Wrap(
|
child: Wrap(
|
||||||
|
|||||||
Reference in New Issue
Block a user