harshitverma209 / android_pip

BSD 2-Clause "Simplified" License
1 stars 3 forks source link

Cannot build in Flutter 3.16 #6

Closed hungHatto closed 2 months ago

hungHatto commented 3 months ago

I have issue when add your package in my app.


error: ../../../../../.pub-cache/hosted/pub.dev/flutter_in_app_pip-1.7.4/lib/pip_material_app.dart:470:9: Error: Type 'AnimationStyle' not found.
  final AnimationStyle? themeAnimationStyle;
        ^^^^^^^^^^^^^^
../../../../../.pub-cache/hosted/pub.dev/flutter_in_app_pip-1.7.4/lib/pip_material_app.dart:470:9: Error: 'AnimationStyle' isn't a type.
  final AnimationStyle? themeAnimationStyle;
        ^^^^^^^^^^^^^^
../../../../../.pub-cache/hosted/pub.dev/flutter_in_app_pip-1.7.4/lib/pip_material_app.dart:674:9: Error: No named parameter with the name 'themeAnimationStyle'.
        themeAnimationStyle: widget.themeAnimationStyle,
        ^^^^^^^^^^^^^^^^^^^
../../../../../Developments/flutter/packages/flutter/lib/src/material/app.dart:205:9: Context: Found this candidate, but the arguments don't match.
  const MaterialApp({
        ^^^^^^^^^^^
../../../../../.pub-cache/hosted/pub.dev/flutter_in_app_pip-1.7.4/lib/pip_material_app.dart:720:9: Error: No named parameter with the name 'themeAnimationStyle'.
        themeAnimationStyle: widget.themeAnimationStyle,
        ^^^^^^^^^^^^^^^^^^^
../../../../../Developments/flutter/packages/flutter/lib/src/material/app.dart:258:9: Context: Found this candidate, but the arguments don't match.
  const MaterialApp.router({

this is my flutter doctor image

harshitverma209 commented 2 months ago

Hey, I believe this is not the package you are using. It is actually flutter_in_app_pip, another package of mine. Please create an issue in that package.