101Loop / 101Loop/Skeleton-Text

Conflig with Flutter 3.13.0

Aperta Adatta ai principianti
#8 1 commento 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
36
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart, flutter
Ambito
mobile
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.