flutter_eval
flutter_eval copied to clipboard
Code push for Flutter, powered by dart_eval
When trying to use TextStyle.copyWith in evaluated code, the compiler throws an error saying that the method is unknown. ## Minimal reproducible code: ``` abstract class AppThemeStyles { ThemeData get...
This PR fixes a parse error in build.yaml that occurred during build_runner execution. The issue was caused by a missing enabled: true flag in the builder configuration. ``` targets: $default:...
Hi @ethanblake4, I'm encountering a parse error when running build_runner in a Flutter project that depends on flutter_eval: ^0.8.0. This seems to stem from an invalid configuration in the package's...
CompileError: Cannot find import 'package:flutter/cupertino.dart' (while parsing 'package:kk/basic/common/cupertino_localizations_delegate.dart') at unknown
When I use the CompilerWidget component, 'packages' pass in a lot of code, and it will appear the stack ``` #0 List._setIndexed (dart:core-patch/array.dart:185:48) #1 List.[]= (dart:core-patch/array.dart:180:5) #2 PushReturnValue.run (package:dart_eval/src/eval/runtime/ops/memory.dart:50:18) #3...
Full code at: https://github.com/Murmurl912/flutter_code_push_flutter_eval/blob/main/hot_update/test/generate_binding.dart Error is thrown in BridgeTypeRef.toJson, ref = null ```dart class BridgeTypeRef { /// Reference a type by its spec (library URI and name) const BridgeTypeRef(this.spec, [this.typeArgs...