101Loop / 101Loop/Skeleton-Text

Conflig with Flutter 3.13.0

Ouverte Adaptée aux débutants
#8 1 commentaire 3 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Dart
Étoiles
36
Forks
11
Métriques de merge des PR
Aucune PR mergée en 30 j

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?,
^

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
dart, flutter
Domaine
mobile
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
65/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.