diff --git a/flutter_filament_federated/web_test/.gitignore b/flutter_filament_federated/web_test/.gitignore deleted file mode 100644 index 29a3a501..00000000 --- a/flutter_filament_federated/web_test/.gitignore +++ /dev/null @@ -1,43 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.pub-cache/ -.pub/ -/build/ - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/flutter_filament_federated/web_test/.metadata b/flutter_filament_federated/web_test/.metadata deleted file mode 100644 index 513eb675..00000000 --- a/flutter_filament_federated/web_test/.metadata +++ /dev/null @@ -1,30 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled and should not be manually edited. - -version: - revision: "607a3dad768d326fb9fb1ac24e6a2fc92303a6ab" - channel: "master" - -project_type: app - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: 607a3dad768d326fb9fb1ac24e6a2fc92303a6ab - base_revision: 607a3dad768d326fb9fb1ac24e6a2fc92303a6ab - - platform: web - create_revision: 607a3dad768d326fb9fb1ac24e6a2fc92303a6ab - base_revision: 607a3dad768d326fb9fb1ac24e6a2fc92303a6ab - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/flutter_filament_federated/web_test/README.md b/flutter_filament_federated/web_test/README.md deleted file mode 100644 index 7a234da4..00000000 --- a/flutter_filament_federated/web_test/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# web_test - -A new Flutter project. - -## Getting Started - -This project is a starting point for a Flutter application. - -A few resources to get you started if this is your first Flutter project: - -- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) -- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) - -For help getting started with Flutter development, view the -[online documentation](https://docs.flutter.dev/), which offers tutorials, -samples, guidance on mobile development, and a full API reference. diff --git a/flutter_filament_federated/web_test/analysis_options.yaml b/flutter_filament_federated/web_test/analysis_options.yaml deleted file mode 100644 index 0d290213..00000000 --- a/flutter_filament_federated/web_test/analysis_options.yaml +++ /dev/null @@ -1,28 +0,0 @@ -# This file configures the analyzer, which statically analyzes Dart code to -# check for errors, warnings, and lints. -# -# The issues identified by the analyzer are surfaced in the UI of Dart-enabled -# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be -# invoked from the command line by running `flutter analyze`. - -# The following line activates a set of recommended lints for Flutter apps, -# packages, and plugins designed to encourage good coding practices. -include: package:flutter_lints/flutter.yaml - -linter: - # The lint rules applied to this project can be customized in the - # section below to disable rules from the `package:flutter_lints/flutter.yaml` - # included above or to enable additional rules. A list of all available lints - # and their documentation is published at https://dart.dev/lints. - # - # Instead of disabling a lint rule for the entire project in the - # section below, it can also be suppressed for a single line of code - # or a specific dart file by using the `// ignore: name_of_lint` and - # `// ignore_for_file: name_of_lint` syntax on the line or in the file - # producing the lint. - rules: - # avoid_print: false # Uncomment to disable the `avoid_print` rule - # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule - -# Additional information about this file can be found at -# https://dart.dev/guides/language/analysis-options diff --git a/flutter_filament_federated/web_test/lib/main.dart b/flutter_filament_federated/web_test/lib/main.dart deleted file mode 100644 index 31a0f39a..00000000 --- a/flutter_filament_federated/web_test/lib/main.dart +++ /dev/null @@ -1,725 +0,0 @@ -import 'package:animation_tools_dart/src/bone_animation_data.dart'; -import 'package:animation_tools_dart/src/morph_animation_data.dart'; -import 'package:dart_filament/dart_filament/abstract_filament_viewer.dart'; -import 'package:dart_filament/dart_filament/entities/filament_entity.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_filament/filament/flutter_filament_plugin.dart'; -import 'package:vector_math/vector_math_64.dart'; - -// class FooViewer extends AbstractFilamentViewer { -// @override -// Future addAnimationComponent(FilamentEntity entity) { -// // TODO: implement addAnimationComponent -// throw UnimplementedError(); -// } - -// @override -// Future addBoneAnimation(FilamentEntity entity, BoneAnimationData animation) { -// // TODO: implement addBoneAnimation -// throw UnimplementedError(); -// } - -// @override -// Future addCollisionComponent(FilamentEntity entity, {void Function(int entityId1, int entityId2)? callback, bool affectsTransform = false}) { -// // TODO: implement addCollisionComponent -// throw UnimplementedError(); -// } - -// @override -// Future addLight(int type, double colour, double intensity, double posX, double posY, double posZ, double dirX, double dirY, double dirZ, bool castShadows) { -// // TODO: implement addLight -// throw UnimplementedError(); -// } - -// @override -// Future clearBackgroundImage() { -// // TODO: implement clearBackgroundImage -// throw UnimplementedError(); -// } - -// @override -// Future clearEntities() { -// // TODO: implement clearEntities -// throw UnimplementedError(); -// } - -// @override -// Future clearLights() { -// // TODO: implement clearLights -// throw UnimplementedError(); -// } - -// @override -// Future createGeometry(List vertices, List indices, {String? materialPath, PrimitiveType primitiveType = PrimitiveType.TRIANGLES}) { -// // TODO: implement createGeometry -// throw UnimplementedError(); -// } - -// @override -// Future createInstance(FilamentEntity entity) { -// // TODO: implement createInstance -// throw UnimplementedError(); -// } - -// @override -// Future dispose() { -// // TODO: implement dispose -// throw UnimplementedError(); -// } - -// @override -// Future getAnimationDuration(FilamentEntity entity, int animationIndex) { -// // TODO: implement getAnimationDuration -// throw UnimplementedError(); -// } - -// @override -// Future> getAnimationNames(FilamentEntity entity) { -// // TODO: implement getAnimationNames -// throw UnimplementedError(); -// } - -// @override -// Future getCameraCullingFar() { -// // TODO: implement getCameraCullingFar -// throw UnimplementedError(); -// } - -// @override -// Future getCameraCullingNear() { -// // TODO: implement getCameraCullingNear -// throw UnimplementedError(); -// } - -// @override -// Future getCameraCullingProjectionMatrix() { -// // TODO: implement getCameraCullingProjectionMatrix -// throw UnimplementedError(); -// } - -// @override -// Future getCameraFrustum() { -// // TODO: implement getCameraFrustum -// throw UnimplementedError(); -// } - -// @override -// Future getCameraModelMatrix() { -// // TODO: implement getCameraModelMatrix -// throw UnimplementedError(); -// } - -// @override -// Future getCameraPosition() { -// // TODO: implement getCameraPosition -// throw UnimplementedError(); -// } - -// @override -// Future getCameraProjectionMatrix() { -// // TODO: implement getCameraProjectionMatrix -// throw UnimplementedError(); -// } - -// @override -// Future getCameraRotation() { -// // TODO: implement getCameraRotation -// throw UnimplementedError(); -// } - -// @override -// Future getCameraViewMatrix() { -// // TODO: implement getCameraViewMatrix -// throw UnimplementedError(); -// } - -// @override -// Future> getChildEntities(FilamentEntity parent, bool renderableOnly) { -// // TODO: implement getChildEntities -// throw UnimplementedError(); -// } - -// @override -// Future getChildEntity(FilamentEntity parent, String childName) { -// // TODO: implement getChildEntity -// throw UnimplementedError(); -// } - -// @override -// Future> getChildEntityNames(FilamentEntity entity, {bool renderableOnly = true}) { -// // TODO: implement getChildEntityNames -// throw UnimplementedError(); -// } - -// @override -// Future getInstanceCount(FilamentEntity entity) { -// // TODO: implement getInstanceCount -// throw UnimplementedError(); -// } - -// @override -// Future> getInstances(FilamentEntity entity) { -// // TODO: implement getInstances -// throw UnimplementedError(); -// } - -// @override -// Future getMainCamera() { -// // TODO: implement getMainCamera -// throw UnimplementedError(); -// } - -// @override -// Future> getMorphTargetNames(FilamentEntity entity, String meshName) { -// // TODO: implement getMorphTargetNames -// throw UnimplementedError(); -// } - -// @override -// String? getNameForEntity(FilamentEntity entity) { -// // TODO: implement getNameForEntity -// throw UnimplementedError(); -// } - -// @override -// Future hide(FilamentEntity entity, String? meshName) { -// // TODO: implement hide -// throw UnimplementedError(); -// } - -// @override -// Future loadGlb(String path, {int numInstances = 1}) { -// // TODO: implement loadGlb -// throw UnimplementedError(); -// } - -// @override -// Future loadGltf(String path, String relativeResourcePath, {bool force = false}) { -// // TODO: implement loadGltf -// throw UnimplementedError(); -// } - -// @override -// Future loadIbl(String lightingPath, {double intensity = 30000}) { -// // TODO: implement loadIbl -// throw UnimplementedError(); -// } - -// @override -// Future loadSkybox(String skyboxPath) { -// // TODO: implement loadSkybox -// throw UnimplementedError(); -// } - -// @override -// Future moveCameraToAsset(FilamentEntity entity) { -// // TODO: implement moveCameraToAsset -// throw UnimplementedError(); -// } - -// @override -// Future panEnd() { -// // TODO: implement panEnd -// throw UnimplementedError(); -// } - -// @override -// Future panStart(double x, double y) { -// // TODO: implement panStart -// throw UnimplementedError(); -// } - -// @override -// Future panUpdate(double x, double y) { -// // TODO: implement panUpdate -// throw UnimplementedError(); -// } - -// @override -// void pick(int x, int y) { -// // TODO: implement pick -// } - -// @override -// // TODO: implement pickResult -// Stream get pickResult => throw UnimplementedError(); - -// @override -// Future playAnimation(FilamentEntity entity, int index, {bool loop = false, bool reverse = false, bool replaceActive = true, double crossfade = 0.0}) { -// // TODO: implement playAnimation -// throw UnimplementedError(); -// } - -// @override -// Future playAnimationByName(FilamentEntity entity, String name, {bool loop = false, bool reverse = false, bool replaceActive = true, double crossfade = 0.0}) { -// // TODO: implement playAnimationByName -// throw UnimplementedError(); -// } - -// @override -// Future queuePositionUpdate(FilamentEntity entity, double x, double y, double z, {bool relative = false}) { -// // TODO: implement queuePositionUpdate -// throw UnimplementedError(); -// } - -// @override -// Future queueRotationUpdate(FilamentEntity entity, double rads, double x, double y, double z, {bool relative = false}) { -// // TODO: implement queueRotationUpdate -// throw UnimplementedError(); -// } - -// @override -// Future queueRotationUpdateQuat(FilamentEntity entity, Quaternion quat, {bool relative = false}) { -// // TODO: implement queueRotationUpdateQuat -// throw UnimplementedError(); -// } - -// @override -// Future removeCollisionComponent(FilamentEntity entity) { -// // TODO: implement removeCollisionComponent -// throw UnimplementedError(); -// } - -// @override -// Future removeEntity(FilamentEntity entity) { -// // TODO: implement removeEntity -// throw UnimplementedError(); -// } - -// @override -// Future removeIbl() { -// // TODO: implement removeIbl -// throw UnimplementedError(); -// } - -// @override -// Future removeLight(FilamentEntity light) { -// // TODO: implement removeLight -// throw UnimplementedError(); -// } - -// @override -// Future removeSkybox() { -// // TODO: implement removeSkybox -// throw UnimplementedError(); -// } - -// @override -// Future render() { -// // TODO: implement render -// throw UnimplementedError(); -// } - -// @override -// // TODO: implement rendering -// bool get rendering => throw UnimplementedError(); - -// @override -// Future resetBones(FilamentEntity entity) { -// // TODO: implement resetBones -// throw UnimplementedError(); -// } - -// @override -// Future reveal(FilamentEntity entity, String? meshName) { -// // TODO: implement reveal -// throw UnimplementedError(); -// } - -// @override -// Future rotateEnd() { -// // TODO: implement rotateEnd -// throw UnimplementedError(); -// } - -// @override -// Future rotateIbl(Matrix3 rotation) { -// // TODO: implement rotateIbl -// throw UnimplementedError(); -// } - -// @override -// Future rotateStart(double x, double y) { -// // TODO: implement rotateStart -// throw UnimplementedError(); -// } - -// @override -// Future rotateUpdate(double x, double y) { -// // TODO: implement rotateUpdate -// throw UnimplementedError(); -// } - -// @override -// Future setAnimationFrame(FilamentEntity entity, int index, int animationFrame) { -// // TODO: implement setAnimationFrame -// throw UnimplementedError(); -// } - -// @override -// Future setAntiAliasing(bool msaa, bool fxaa, bool taa) { -// // TODO: implement setAntiAliasing -// throw UnimplementedError(); -// } - -// @override -// Future setBackgroundColor(double r, double g, double b, double alpha) { -// // TODO: implement setBackgroundColor -// throw UnimplementedError(); -// } - -// @override -// Future setBackgroundImage(String path, {bool fillHeight = false}) { -// // TODO: implement setBackgroundImage -// throw UnimplementedError(); -// } - -// @override -// Future setBackgroundImagePosition(double x, double y, {bool clamp = false}) { -// // TODO: implement setBackgroundImagePosition -// throw UnimplementedError(); -// } - -// @override -// Future setBloom(double bloom) { -// // TODO: implement setBloom -// throw UnimplementedError(); -// } - -// @override -// Future setCamera(FilamentEntity entity, String? name) { -// // TODO: implement setCamera -// throw UnimplementedError(); -// } - -// @override -// Future setCameraCulling(double near, double far) { -// // TODO: implement setCameraCulling -// throw UnimplementedError(); -// } - -// @override -// Future setCameraExposure(double aperture, double shutterSpeed, double sensitivity) { -// // TODO: implement setCameraExposure -// throw UnimplementedError(); -// } - -// @override -// Future setCameraFocalLength(double focalLength) { -// // TODO: implement setCameraFocalLength -// throw UnimplementedError(); -// } - -// @override -// Future setCameraFocusDistance(double focusDistance) { -// // TODO: implement setCameraFocusDistance -// throw UnimplementedError(); -// } - -// @override -// Future setCameraFov(double degrees, double width, double height) { -// // TODO: implement setCameraFov -// throw UnimplementedError(); -// } - -// @override -// Future setCameraManipulatorOptions({ManipulatorMode mode = ManipulatorMode.ORBIT, double orbitSpeedX = 0.01, double orbitSpeedY = 0.01, double zoomSpeed = 0.01}) { -// // TODO: implement setCameraManipulatorOptions -// throw UnimplementedError(); -// } - -// @override -// Future setCameraModelMatrix(List matrix) { -// // TODO: implement setCameraModelMatrix -// throw UnimplementedError(); -// } - -// @override -// Future setCameraPosition(double x, double y, double z) { -// // TODO: implement setCameraPosition -// throw UnimplementedError(); -// } - -// @override -// Future setCameraRotation(Quaternion quaternion) { -// // TODO: implement setCameraRotation -// throw UnimplementedError(); -// } - -// @override -// Future setFrameRate(int framerate) { -// // TODO: implement setFrameRate -// throw UnimplementedError(); -// } - -// @override -// Future setMainCamera() { -// // TODO: implement setMainCamera -// throw UnimplementedError(); -// } - -// @override -// Future setMaterialColor(FilamentEntity entity, String meshName, int materialIndex, double r, double g, double b, double a) { -// // TODO: implement setMaterialColor -// throw UnimplementedError(); -// } - -// @override -// Future setMorphAnimationData(FilamentEntity entity, MorphAnimationData animation, {List? targetMeshNames}) { -// // TODO: implement setMorphAnimationData -// throw UnimplementedError(); -// } - -// @override -// Future setMorphTargetWeights(FilamentEntity entity, List weights) { -// // TODO: implement setMorphTargetWeights -// throw UnimplementedError(); -// } - -// @override -// Future setParent(FilamentEntity child, FilamentEntity parent) { -// // TODO: implement setParent -// throw UnimplementedError(); -// } - -// @override -// Future setPosition(FilamentEntity entity, double x, double y, double z) { -// // TODO: implement setPosition -// throw UnimplementedError(); -// } - -// @override -// Future setPostProcessing(bool enabled) { -// // TODO: implement setPostProcessing -// throw UnimplementedError(); -// } - -// @override -// Future setPriority(FilamentEntity entityId, int priority) { -// // TODO: implement setPriority -// throw UnimplementedError(); -// } - -// @override -// Future setRecording(bool recording) { -// // TODO: implement setRecording -// throw UnimplementedError(); -// } - -// @override -// Future setRecordingOutputDirectory(String outputDirectory) { -// // TODO: implement setRecordingOutputDirectory -// throw UnimplementedError(); -// } - -// @override -// Future setRendering(bool render) { -// // TODO: implement setRendering -// throw UnimplementedError(); -// } - -// @override -// Future setRotation(FilamentEntity entity, double rads, double x, double y, double z) { -// // TODO: implement setRotation -// throw UnimplementedError(); -// } - -// @override -// Future setRotationQuat(FilamentEntity entity, Quaternion rotation) { -// // TODO: implement setRotationQuat -// throw UnimplementedError(); -// } - -// @override -// Future setScale(FilamentEntity entity, double scale) { -// // TODO: implement setScale -// throw UnimplementedError(); -// } - -// @override -// Future setToneMapping(ToneMapper mapper) { -// // TODO: implement setToneMapping -// throw UnimplementedError(); -// } - -// @override -// Future setViewFrustumCulling(bool enabled) { -// // TODO: implement setViewFrustumCulling -// throw UnimplementedError(); -// } - -// @override -// Future stopAnimation(FilamentEntity entity, int animationIndex) { -// // TODO: implement stopAnimation -// throw UnimplementedError(); -// } - -// @override -// Future stopAnimationByName(FilamentEntity entity, String name) { -// // TODO: implement stopAnimationByName -// throw UnimplementedError(); -// } - -// @override -// Future testCollisions(FilamentEntity entity) { -// // TODO: implement testCollisions -// throw UnimplementedError(); -// } - -// @override -// Future transformToUnitCube(FilamentEntity entity) { -// // TODO: implement transformToUnitCube -// throw UnimplementedError(); -// } - -// @override -// Future zoomBegin() { -// // TODO: implement zoomBegin -// throw UnimplementedError(); -// } - -// @override -// Future zoomEnd() { -// // TODO: implement zoomEnd -// throw UnimplementedError(); -// } - -// @override -// Future zoomUpdate(double x, double y, double z) { -// // TODO: implement zoomUpdate -// throw UnimplementedError(); -// } - -// @override -// // TODO: implement scene -// Scene get scene => throw UnimplementedError(); - -// } - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({super.key}); - - // This widget is the root of your application. - @override - Widget build(BuildContext context) { - return MaterialApp( - title: 'Flutter Demo', - theme: ThemeData( - // This is the theme of your application. - // - // TRY THIS: Try running your application with "flutter run". You'll see - // the application has a purple toolbar. Then, without quitting the app, - // try changing the seedColor in the colorScheme below to Colors.green - // and then invoke "hot reload" (save your changes or press the "hot - // reload" button in a Flutter-supported IDE, or press "r" if you used - // the command line to start the app). - // - // Notice that the counter didn't reset back to zero; the application - // state is not lost during the reload. To reset the state, use hot - // restart instead. - // - // This works for code too, not just values: Most code changes can be - // tested with just a hot reload. - // colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), - useMaterial3: true, - ), - home: const MyHomePage(title: 'Flutter Demo Home Page'), - ); - } -} - -class MyHomePage extends StatefulWidget { - const MyHomePage({super.key, required this.title}); - - // This widget is the home page of your application. It is stateful, meaning - // that it has a State object (defined below) that contains fields that affect - // how it looks. - - // This class is the configuration for the state. It holds the values (in this - // case the title) provided by the parent (in this case the App widget) and - // used by the build method of the State. Fields in a Widget subclass are - // always marked "final". - - final String title; - - @override - State createState() => _MyHomePageState(); -} - -class _MyHomePageState extends State { - // late AbstractFilamentViewer viewer; - int _counter = 0; - - void _incrementCounter() { - final plugin = FlutterFilamentPlugin(); - - // viewer = FooViewer(); - setState(() { - // This call to setState tells the Flutter framework that something has - // changed in this State, which causes it to rerun the build method below - // so that the display can reflect the updated values. If we changed - // _counter without calling setState(), then the build method would not be - // called again, and so nothing would appear to happen. - _counter++; - }); - } - - @override - Widget build(BuildContext context) { - // This method is rerun every time setState is called, for instance as done - // by the _incrementCounter method above. - // - // The Flutter framework has been optimized to make rerunning build methods - // fast, so that you can just rebuild anything that needs updating rather - // than having to individually change instances of widgets. - return Scaffold( - appBar: AppBar( - // TRY THIS: Try changing the color here to a specific color (to - // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar - // change color while the other colors stay the same. - backgroundColor: Theme.of(context).colorScheme.inversePrimary, - // Here we take the value from the MyHomePage object that was created by - // the App.build method, and use it to set our appbar title. - title: Text(widget.title), - ), - body: Center( - // Center is a layout widget. It takes a single child and positions it - // in the middle of the parent. - child: Column( - // Column is also a layout widget. It takes a list of children and - // arranges them vertically. By default, it sizes itself to fit its - // children horizontally, and tries to be as tall as its parent. - // - // Column has various properties to control how it sizes itself and - // how it positions its children. Here we use mainAxisAlignment to - // center the children vertically; the main axis here is the vertical - // axis because Columns are vertical (the cross axis would be - // horizontal). - // - // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint" - // action in the IDE, or press "p" in the console), to see the - // wireframe for each widget. - mainAxisAlignment: MainAxisAlignment.center, - children: [ - const Text( - 'You have pushed the button this many times:', - ), - Text( - '$_counter', - style: Theme.of(context).textTheme.headlineMedium, - ), - ], - ), - ), - floatingActionButton: FloatingActionButton( - onPressed: _incrementCounter, - tooltip: 'Increment', - child: const Icon(Icons.add), - ), // This trailing comma makes auto-formatting nicer for build methods. - ); - } -} diff --git a/flutter_filament_federated/web_test/pubspec.lock b/flutter_filament_federated/web_test/pubspec.lock deleted file mode 100644 index 35437ce0..00000000 --- a/flutter_filament_federated/web_test/pubspec.lock +++ /dev/null @@ -1,285 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - animation_tools_dart: - dependency: transitive - description: - name: animation_tools_dart - sha256: c4bc4096d43227b573345a3ea3cb26c3af47a70af31cd7d7d3a5b7c99e33d615 - url: "https://pub.dev" - source: hosted - version: "0.0.2" - async: - dependency: transitive - description: - name: async - sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" - url: "https://pub.dev" - source: hosted - version: "2.11.0" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - characters: - dependency: transitive - description: - name: characters - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" - url: "https://pub.dev" - source: hosted - version: "1.3.0" - clock: - dependency: transitive - description: - name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf - url: "https://pub.dev" - source: hosted - version: "1.1.1" - collection: - dependency: transitive - description: - name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a - url: "https://pub.dev" - source: hosted - version: "1.18.0" - cupertino_icons: - dependency: "direct main" - description: - name: cupertino_icons - sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 - url: "https://pub.dev" - source: hosted - version: "1.0.8" - dart_filament: - dependency: "direct main" - description: - path: "../../dart_filament" - relative: true - source: path - version: "0.5.0" - fake_async: - dependency: transitive - description: - name: fake_async - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" - url: "https://pub.dev" - source: hosted - version: "1.3.1" - ffi: - dependency: transitive - description: - name: ffi - sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - flutter: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_filament: - dependency: "direct main" - description: - path: "../flutter_filament" - relative: true - source: path - version: "0.6.0" - flutter_filament_ffi: - dependency: transitive - description: - path: "../flutter_filament_ffi" - relative: true - source: path - version: "0.0.1" - flutter_filament_platform_interface: - dependency: transitive - description: - path: "../flutter_filament_platform_interface" - relative: true - source: path - version: "0.0.1" - flutter_filament_web: - dependency: transitive - description: - path: "../flutter_filament_web" - relative: true - source: path - version: "2.0.5" - flutter_lints: - dependency: "direct dev" - description: - name: flutter_lints - sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1" - url: "https://pub.dev" - source: hosted - version: "3.0.2" - flutter_test: - dependency: "direct dev" - description: flutter - source: sdk - version: "0.0.0" - flutter_web_plugins: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - leak_tracker: - dependency: transitive - description: - name: leak_tracker - sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" - url: "https://pub.dev" - source: hosted - version: "10.0.5" - leak_tracker_flutter_testing: - dependency: transitive - description: - name: leak_tracker_flutter_testing - sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" - url: "https://pub.dev" - source: hosted - version: "3.0.5" - leak_tracker_testing: - dependency: transitive - description: - name: leak_tracker_testing - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" - url: "https://pub.dev" - source: hosted - version: "3.0.1" - lints: - dependency: transitive - description: - name: lints - sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 - url: "https://pub.dev" - source: hosted - version: "3.0.0" - matcher: - dependency: transitive - description: - name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb - url: "https://pub.dev" - source: hosted - version: "0.12.16+1" - material_color_utilities: - dependency: transitive - description: - name: material_color_utilities - sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec - url: "https://pub.dev" - source: hosted - version: "0.11.1" - meta: - dependency: transitive - description: - name: meta - sha256: "25dfcaf170a0190f47ca6355bdd4552cb8924b430512ff0cafb8db9bd41fe33b" - url: "https://pub.dev" - source: hosted - version: "1.14.0" - path: - dependency: transitive - description: - name: path - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" - url: "https://pub.dev" - source: hosted - version: "1.9.0" - plugin_platform_interface: - dependency: transitive - description: - name: plugin_platform_interface - sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" - url: "https://pub.dev" - source: hosted - version: "2.1.8" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.99" - source_span: - dependency: transitive - description: - name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" - url: "https://pub.dev" - source: hosted - version: "1.10.0" - stack_trace: - dependency: transitive - description: - name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" - url: "https://pub.dev" - source: hosted - version: "1.11.1" - stream_channel: - dependency: transitive - description: - name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 - url: "https://pub.dev" - source: hosted - version: "2.1.2" - string_scanner: - dependency: transitive - description: - name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - term_glyph: - dependency: transitive - description: - name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 - url: "https://pub.dev" - source: hosted - version: "1.2.1" - test_api: - dependency: transitive - description: - name: test_api - sha256: "2419f20b0c8677b2d67c8ac4d1ac7372d862dc6c460cdbb052b40155408cd794" - url: "https://pub.dev" - source: hosted - version: "0.7.1" - tuple: - dependency: transitive - description: - name: tuple - sha256: a97ce2013f240b2f3807bcbaf218765b6f301c3eff91092bcfa23a039e7dd151 - url: "https://pub.dev" - source: hosted - version: "2.0.2" - vector_math: - dependency: transitive - description: - name: vector_math - sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - vm_service: - dependency: transitive - description: - name: vm_service - sha256: "7475cb4dd713d57b6f7464c0e13f06da0d535d8b2067e188962a59bac2cf280b" - url: "https://pub.dev" - source: hosted - version: "14.2.2" -sdks: - dart: ">=3.5.0-138.0.dev <4.0.0" - flutter: ">=3.18.0-18.0.pre.54" diff --git a/flutter_filament_federated/web_test/pubspec.yaml b/flutter_filament_federated/web_test/pubspec.yaml deleted file mode 100644 index cb0ec78d..00000000 --- a/flutter_filament_federated/web_test/pubspec.yaml +++ /dev/null @@ -1,78 +0,0 @@ -name: web_test -description: "A new Flutter project." -# The following line prevents the package from being accidentally published to -# pub.dev using `flutter pub publish`. This is preferred for private packages. -publish_to: 'none' # Remove this line if you wish to publish to pub.dev - -version: 1.0.0+1 - -environment: - sdk: '>=3.5.0-138.0.dev <4.0.0' - -# Dependencies specify other packages that your package needs in order to work. -# To automatically upgrade your package dependencies to the latest versions -# consider running `flutter pub upgrade --major-versions`. Alternatively, -# dependencies can be manually updated by changing the version numbers below to -# the latest version available on pub.dev. To see which dependencies have newer -# versions available, run `flutter pub outdated`. -dependencies: - dart_filament: - path: ../../dart_filament - flutter_filament: - path: ../flutter_filament - flutter: - sdk: flutter - cupertino_icons: ^1.0.6 - -dev_dependencies: - flutter_test: - sdk: flutter - - # The "flutter_lints" package below contains a set of recommended lints to - # encourage good coding practices. The lint set provided by the package is - # activated in the `analysis_options.yaml` file located at the root of your - # package. See that file for information about deactivating specific lint - # rules and activating additional ones. - flutter_lints: ^3.0.0 - -# For information on the generic Dart part of this file, see the -# following page: https://dart.dev/tools/pub/pubspec - -# The following section is specific to Flutter packages. -flutter: - - # The following line ensures that the Material Icons font is - # included with your application, so that you can use the icons in - # the material Icons class. - uses-material-design: true - - # To add assets to your application, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg - # - images/a_dot_ham.jpeg - - # An image asset can refer to one or more resolution-specific "variants", see - # https://flutter.dev/assets-and-images/#resolution-aware - - # For details regarding adding assets from package dependencies, see - # https://flutter.dev/assets-and-images/#from-packages - - # To add custom fonts to your application, add a fonts section here, - # in this "flutter" section. Each entry in this list should have a - # "family" key with the font family name, and a "fonts" key with a - # list giving the asset and other descriptors for the font. For - # example: - # fonts: - # - family: Schyler - # fonts: - # - asset: fonts/Schyler-Regular.ttf - # - asset: fonts/Schyler-Italic.ttf - # style: italic - # - family: Trajan Pro - # fonts: - # - asset: fonts/TrajanPro.ttf - # - asset: fonts/TrajanPro_Bold.ttf - # weight: 700 - # - # For details regarding fonts from package dependencies, - # see https://flutter.dev/custom-fonts/#from-packages diff --git a/flutter_filament_federated/web_test/test/widget_test.dart b/flutter_filament_federated/web_test/test/widget_test.dart deleted file mode 100644 index 00095e20..00000000 --- a/flutter_filament_federated/web_test/test/widget_test.dart +++ /dev/null @@ -1,30 +0,0 @@ -// This is a basic Flutter widget test. -// -// To perform an interaction with a widget in your test, use the WidgetTester -// utility in the flutter_test package. For example, you can send tap and scroll -// gestures. You can also use WidgetTester to find child widgets in the widget -// tree, read text, and verify that the values of widget properties are correct. - -import 'package:flutter/material.dart'; -import 'package:flutter_test/flutter_test.dart'; - -import 'package:web_test/main.dart'; - -void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(const MyApp()); - - // Verify that our counter starts at 0. - expect(find.text('0'), findsOneWidget); - expect(find.text('1'), findsNothing); - - // Tap the '+' icon and trigger a frame. - await tester.tap(find.byIcon(Icons.add)); - await tester.pump(); - - // Verify that our counter has incremented. - expect(find.text('0'), findsNothing); - expect(find.text('1'), findsOneWidget); - }); -} diff --git a/flutter_filament_federated/web_test/web/favicon.png b/flutter_filament_federated/web_test/web/favicon.png deleted file mode 100644 index 8aaa46ac..00000000 Binary files a/flutter_filament_federated/web_test/web/favicon.png and /dev/null differ diff --git a/flutter_filament_federated/web_test/web/icons/Icon-192.png b/flutter_filament_federated/web_test/web/icons/Icon-192.png deleted file mode 100644 index b749bfef..00000000 Binary files a/flutter_filament_federated/web_test/web/icons/Icon-192.png and /dev/null differ diff --git a/flutter_filament_federated/web_test/web/icons/Icon-512.png b/flutter_filament_federated/web_test/web/icons/Icon-512.png deleted file mode 100644 index 88cfd48d..00000000 Binary files a/flutter_filament_federated/web_test/web/icons/Icon-512.png and /dev/null differ diff --git a/flutter_filament_federated/web_test/web/icons/Icon-maskable-192.png b/flutter_filament_federated/web_test/web/icons/Icon-maskable-192.png deleted file mode 100644 index eb9b4d76..00000000 Binary files a/flutter_filament_federated/web_test/web/icons/Icon-maskable-192.png and /dev/null differ diff --git a/flutter_filament_federated/web_test/web/icons/Icon-maskable-512.png b/flutter_filament_federated/web_test/web/icons/Icon-maskable-512.png deleted file mode 100644 index d69c5669..00000000 Binary files a/flutter_filament_federated/web_test/web/icons/Icon-maskable-512.png and /dev/null differ diff --git a/flutter_filament_federated/web_test/web/index.html b/flutter_filament_federated/web_test/web/index.html deleted file mode 100644 index 52dddb96..00000000 --- a/flutter_filament_federated/web_test/web/index.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - web_test - - - - - - diff --git a/flutter_filament_federated/web_test/web/manifest.json b/flutter_filament_federated/web_test/web/manifest.json deleted file mode 100644 index 609262c9..00000000 --- a/flutter_filament_federated/web_test/web/manifest.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "web_test", - "short_name": "web_test", - "start_url": ".", - "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "A new Flutter project.", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "icons/Icon-maskable-192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable" - }, - { - "src": "icons/Icon-maskable-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable" - } - ] -}