TDSwiperPagination class
TDesign风格的Swiper指示器样式,与flutter_swiper的Swiper结合使用
Constructors
- TDSwiperPagination({Alignment? alignment, Key? key, EdgeInsetsGeometry margin = const EdgeInsets.all(10.0), SwiperPlugin builder = TDSwiperPagination.dots})
-
const
Properties
- alignment → Alignment?
-
当 scrollDirection== Axis.horizontal 时,默认Alignment.bottomCenter
当 scrollDirection== Axis.vertical 时,默认Alignment.centerRight
final
- builder → SwiperPlugin
-
具体样式
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
final
- margin → EdgeInsetsGeometry
-
指示器和container之间的距离
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context, SwiperPluginConfig config) → Widget -
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