style: doppelte Unterstriche in Closure-Parametern bereinigen
Dart 3 erlaubt mehrere Wildcard-Parameter mit demselben Namen "_" in einem Scope, daher sind __ / ___ für ungenutzte Callback-Parameter (pageBuilder, errorBuilder etc.) unnötig. Rein mechanische Änderung, keine Verhaltensänderung. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1306,7 +1306,7 @@ class _ProfileSectionState extends ConsumerState<_ProfileSection> {
|
||||
children: [
|
||||
if (_pendingServerBanner != null)
|
||||
Image.memory(_pendingServerBanner!, fit: BoxFit.cover,
|
||||
errorBuilder: (_, __, ___) => const SizedBox.shrink())
|
||||
errorBuilder: (_, _, _) => const SizedBox.shrink())
|
||||
else if (existingMxc != null && client != null)
|
||||
MxcImage(mxcUri: existingMxc, client: client, fit: BoxFit.cover)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user