Light theme default + yt-dlp search fallback
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# Étape 18.6.1 - Correctif compilation `Colors.white45`
|
||||
|
||||
Erreur corrigée :
|
||||
|
||||
```text
|
||||
lib/widgets/video_result_card.dart(...):
|
||||
Member not found: 'white45'
|
||||
```
|
||||
|
||||
Cause :
|
||||
|
||||
Flutter ne fournit pas de constante `Colors.white45`.
|
||||
|
||||
Correction :
|
||||
|
||||
```dart
|
||||
Colors.white45
|
||||
```
|
||||
|
||||
devient :
|
||||
|
||||
```dart
|
||||
const Color(0x73FFFFFF)
|
||||
```
|
||||
|
||||
Cela conserve environ 45 % d'opacité sans changer le reste de l'étape 18.6.
|
||||
|
||||
Test :
|
||||
|
||||
```powershell
|
||||
cd "D:\07-Logiciels\23-youtube_personal"
|
||||
flutter run -d windows
|
||||
```
|
||||
|
||||
Pas besoin de `flutter clean`.
|
||||
Reference in New Issue
Block a user