Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflig with Flutter 3.13.0 #8

Open
tiennguyen9988 opened this issue Aug 17, 2023 · 1 comment
Open

Conflig with Flutter 3.13.0 #8

tiennguyen9988 opened this issue Aug 17, 2023 · 1 comment

Comments

@tiennguyen9988
Copy link

../../../../.pub-cache/hosted/pub.dev/skeleton_text-3.0.0/lib/skeleton_text.dart:70:49: Error: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry' because 'BorderRadius?' is nullable and 'BorderRadiusGeometry' isn't.

  • 'BorderRadius' is from 'package:flutter/src/painting/border_radius.dart' ('/Library/development/flutter/packages/flutter/lib/src/painting/border_radius.dart').
  • 'BorderRadiusGeometry' is from 'package:flutter/src/painting/border_radius.dart' ('/Library/development/flutter/packages/flutter/lib/src/painting/border_radius.dart').
    borderRadius: widget.borderRadius as BorderRadius?,
    ^
@tiennguyen9988
Copy link
Author

skeleton_text.dart
remove null able in row 70:
borderRadius: widget.borderRadius as BorderRadius?, => borderRadius: widget.borderRadius as BorderRadius,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant