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
+4 -6
View File
@@ -19,12 +19,10 @@ class QrShareView extends StatefulWidget {
class _QrShareViewState extends State<QrShareView>
with SingleTickerProviderStateMixin {
// Owning the TabController explicitly (instead of DefaultTabController) is
// a workaround for a Flutter framework bug where TabBarView's
// didChangeDependencies issues a jumpToPage mid-build, whose scroll
// notification then calls setState on _TabStyle while the frame is still
// being built — only reproduces reliably with a bottomNavigationBar in the
// Scaffold underneath.
// Own the TabController explicitly (not DefaultTabController) to dodge a
// Flutter bug: TabBarView's didChangeDependencies fires jumpToPage mid-build,
// whose scroll notification then calls setState on _TabStyle during the frame
// — only reproduces with a bottomNavigationBar in the Scaffold underneath.
late final TabController _tabController = TabController(
length: 2,
vsync: this,