9c504d2c3d
Features: - Frontend Flutter avec thème néon cyberpunk - Backend FastAPI avec streaming YouTube - Base de données PostgreSQL + Redis - Authentification JWT complète - Recherche multi-source (DB + YouTube) - Playlists CRUD avec drag & drop - Queue management - Settings avec audio quality - Interface adaptative (Desktop + Mobile) Tech Stack: - Frontend: Flutter 3.2+, Riverpod - Backend: Python 3.11+, FastAPI - Database: PostgreSQL 15+ - Cache: Redis 7+ - Streaming: yt-dlp + FFmpeg 🚀 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
636 B
Dart
29 lines
636 B
Dart
/// Artist Details Page - Adaptive layout
|
|
library;
|
|
|
|
import 'package:flutter/material.dart';
|
|
import 'artist_mobile_page.dart';
|
|
import 'artist_desktop_page.dart';
|
|
|
|
class ArtistDetailsPage extends StatelessWidget {
|
|
final String artistId;
|
|
|
|
const ArtistDetailsPage({
|
|
required this.artistId,
|
|
super.key,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return LayoutBuilder(
|
|
builder: (context, constraints) {
|
|
if (constraints.maxWidth >= 800) {
|
|
return ArtistDesktopPage(artistId: artistId);
|
|
} else {
|
|
return ArtistMobilePage(artistId: artistId);
|
|
}
|
|
},
|
|
);
|
|
}
|
|
}
|