Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add test
  • Loading branch information
ValentinVignal committed Feb 8, 2025
commit d7a2f48b0f1c252a7abb7aa5b0b27bf8c3d61c3c
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:go_router/go_router.dart';

@TypedStatefulShellBranch<StatefulShellBranchWithPreloadData>()
class StatefulShellBranchWithPreloadData extends StatefulShellBranchData {
const StatefulShellBranchWithPreloadData();

static const String $initialLocation = '/main/second-tab';
static const bool $preload = true;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
RouteBase get $statefulShellBranchWithPreloadData =>
StatefulShellBranchData.$branch(
initialLocation: StatefulShellBranchWithPreloadData.$initialLocation,
preload: StatefulShellBranchWithPreloadData.$preload,
);