refactored and condensed technical documentation and comments across the codebase to improve readability

This commit is contained in:
2026-07-06 23:17:06 +02:00
parent c48f5ef215
commit a19b67eb84
27 changed files with 99 additions and 193 deletions
+3 -5
View File
@@ -2,11 +2,9 @@ import 'package:flutter/material.dart';
/// Central place for rendering emoji glyphs (reactions, pickers, …).
///
/// Emojis used to be drawn as bare `Text(emoji)` widgets all over the Talk UI,
/// which meant they inherited the small default body text size and looked
/// inconsistent. [EmojiText] gives every emoji a uniform, comfortably large
/// size and forces the platform's color-emoji font so the rendering is the same
/// everywhere.
/// Gives every emoji a uniform, comfortably large size and forces the
/// platform's color-emoji font, so rendering stays consistent everywhere —
/// bare `Text(emoji)` inherited the small body size and looked inconsistent.
class EmojiText extends StatelessWidget {
/// Size for emojis shown inline next to other text, e.g. reaction chips.
static const double sizeInline = 15;