-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: qualityA truly polished experienceA truly polished experiencec: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttercustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.customer: web10frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-webWeb applications specificallyWeb applications specifically
Description
Hi Flutter Team,
I am from react background as I just started using the flutter web. I am trying to use the named routes in flutter web. For example I have 3 routes as shown in below code:
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
initialRoute: '/',
routes: <String, WidgetBuilder> { //5
'/': (context) => MyHomePage(title: 'Home Page'),
'/first': (BuildContext context) => new FirstPage(), //6
'/second' : (BuildContext context) => new SecondPage() //7
},
);
}
So there is a requirement:
There should be a way to remove hash symbol(#) because currently it shows the url like http://localhost:8080/#/
Use case
Proposal
kevmoo, vimask, rohitkumarluthra, dbbd59, tgercek and 190 morejamesblasco, yumin-chen, SBNTT, Jordan-Nelson, delCatta and 30 more
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: qualityA truly polished experienceA truly polished experiencec: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttercustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.customer: web10frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-webWeb applications specificallyWeb applications specifically