ElAnchorService class
Constructors
- ElAnchorService()
-
factory
Properties
Methods
-
getContext(
String key) → BuildContext? - 获取锚点元素对象
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAnchor(
String? key) → void - 移除锚点
-
scrollTo(
String? url) → void - 滚动到锚点位置,如果 url 包含了 # 符号,则会自动解析字符串,否则直接当做 name 访问
-
setAnchor(
String? key, GlobalKey< State< value, {bool override = true}) → voidStatefulWidget> > - 设置锚点
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited