fix dart analysis issues
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 37s
Pull Request Pipeline / lint (pull_request) Successful in 46s

This commit is contained in:
2026-03-07 23:34:43 +01:00
parent 81aad9280c
commit 8e20fe1034
3 changed files with 3 additions and 6 deletions

View File

@@ -141,7 +141,7 @@ class _CustomNavigationBarState extends State<CustomNavigationBar>
} }
/// Returns the title of the current tab based on [currentIndex]. /// Returns the title of the current tab based on [currentIndex].
String _currentTabTitle(context) { String _currentTabTitle(BuildContext context) {
final loc = AppLocalizations.of(context); final loc = AppLocalizations.of(context);
switch (currentIndex) { switch (currentIndex) {
case 0: case 0:

View File

@@ -147,7 +147,7 @@ class _CreateGroupViewState extends State<CreateGroupView> {
(selectedPlayers.length < 2)) (selectedPlayers.length < 2))
? null ? null
: () async { : () async {
Group? updatedGroup = null; Group? updatedGroup;
bool successfullNameChange = true; bool successfullNameChange = true;
bool successfullMemberChange = true; bool successfullMemberChange = true;
late bool success; late bool success;

View File

@@ -47,10 +47,7 @@ class _AppSkeletonState extends State<AppSkeleton> {
: (Widget? currentChild, List<Widget> previousChildren) { : (Widget? currentChild, List<Widget> previousChildren) {
return Stack( return Stack(
alignment: Alignment.topCenter, alignment: Alignment.topCenter,
children: [ children: [...previousChildren, ?currentChild],
...previousChildren,
if (currentChild != null) currentChild,
],
); );
}, },
), ),