Extract PokedexListHeader, PokedexCountBar; reuse shared ScanlineOverlay. pokemon_list.dart 169 -> 128 lines. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
24 lines
732 B
Dart
24 lines
732 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// Barre de titre de la liste du Pokédex.
|
|
class PokedexListHeader extends StatelessWidget {
|
|
const PokedexListHeader({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
padding: const EdgeInsets.symmetric(horizontal: 16.0, vertical: 12.0),
|
|
color: const Color(0xFF90A4AE),
|
|
child: const Row(
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
children: [
|
|
Icon(Icons.menu, color: Colors.black87),
|
|
Text('LIST - NATIONAL',
|
|
style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold, letterSpacing: 2)),
|
|
Icon(Icons.search, color: Colors.black87),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|