101Loop / 101Loop/Skeleton-Text
Conflig with Flutter 3.13.0
- Dominant language
- Dart
- Stars
- 36
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
../../../../.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?,
^
Contributor guide
No contributing guide indexed for this repository
Research direction
The error occurs in skeleton_text.dart line 70, where a nullable BorderRadius? is being passed where a non-nullable BorderRadiusGeometry is expected. Start by examining the widget.borderRadius property and the constructor it's being passed to. Look at the Flutter 3.13.0 migration guide for BorderRadius changes. The fix likely involves removing the cast or providing a default value. Run the package tests to verify the change resolves the type error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100