-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Closed
Copy link
Labels
c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: go_routerThe go_router packageThe go_router packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.r: duplicateIssue is closed as a duplicate of an existing issueIssue is closed as a duplicate of an existing issue
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Use case
From issue #132402
When initalRoute is mentioned in MainActivity.kt, GoRouter's initalRoute doesn't work. Implemeneted in 2275
package com.example.go_route.test_go_route
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
override fun getInitialRoute(): String? {
return "/home"
}
}Proposal
Implement a new optional bool parameter such as overridePlatformDefaultLocation, which would override platform set initial location.
Metadata
Metadata
Assignees
Labels
c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: go_routerThe go_router packageThe go_router packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.r: duplicateIssue is closed as a duplicate of an existing issueIssue is closed as a duplicate of an existing issue