From 8951e6bf5ed5ca0134733e02855c0835cc8696b2 Mon Sep 17 00:00:00 2001 From: Sanjay Mathew Date: Thu, 30 Oct 2025 01:20:40 +0000 Subject: [PATCH] Remove native_assets_cli dependency and add hooks package --- lib/build.dart | 3 +-- pubspec.yaml | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/build.dart b/lib/build.dart index ac74dc0..e80f1f0 100644 --- a/lib/build.dart +++ b/lib/build.dart @@ -3,10 +3,9 @@ library flutter_gpu_shaders; import 'dart:convert' as convert; import 'dart:io'; -import 'package:native_assets_cli/code_assets_testing.dart'; -import 'package:native_assets_cli/native_assets_cli.dart'; import 'package:flutter_gpu_shaders/environment.dart'; +import 'package:hooks/hooks.dart'; /// Loads a shader bundle manifest file and builds a shader bundle. Future _buildShaderBundleJson({ diff --git a/pubspec.yaml b/pubspec.yaml index 00f2e88..56ebc92 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,7 +12,8 @@ dependencies: sdk: flutter logging: ^1.2.0 # https://github.com/bdero/flutter_gpu_shaders/issues/3 - native_assets_cli: '>=0.13.0 <0.14.0' + hooks: ^0.20.4 + dev_dependencies: flutter_test: