101Loop / 101Loop/Skeleton-Text

Conflig with Flutter 3.13.0

未關閉 適合新手
#8 1 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Dart
星號
36
分支
11
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
dart, flutter
領域
mobile
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。