UrlParser class abstract
因为从Native根据一个url路径打开一个Flutter页面,不同的项目设计可能不同 比如美间 schema定义为 meijianclient://meijian.io?url=home/first&name=uri_test meijianclient://meijian.io?url=home&name=uri_test 其中path 参数需要通过 query 拿到,其他的参数也需要特定解析 继承这个类可以实现自己的解析,并提供通用的解析方式,默认为通用的DefaultUrlParser
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getParams(
Uri uri) → Map< String, String> -
解析参数,将会复制到MuffinPage 的 arguments中,可通过
Muffin.arguments
获取 -
getPath(
Uri uri) → String - 解析 path,将会通过path匹配MuffinPage
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited