FlSwiperArrowPagination class

箭头指示器

Inheritance

Constructors

FlSwiperArrowPagination({IconData iconPrevious = Icons.arrow_back_ios, IconData iconNext = Icons.arrow_forward_ios, Color? color, Color? disableColor, Key? key, double size = 20.0, EdgeInsetsGeometry padding = const EdgeInsets.all(5.0)})
const

Properties

color Color?
Icon normal color, The theme's ThemeData.primaryColor by default. 控制按钮颜色
final
disableColor Color?
if set loop=false on FlSwiper, this color will be used when swiper goto the last slide. The theme's ThemeData.disabledColor by default.
final
hashCode int
The hash code for this object.
no setterinherited
iconNext IconData
iconData for next 下一页的IconData
final
iconPrevious IconData
IconData for previous 上一页的IconData
final
key Key?
final
padding EdgeInsetsGeometry
控制按钮与容器的距离
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
icon size 控制按钮的大小
final

Methods

build(BuildContext context, FlSwiperPluginConfig config) Widget
override
buildButton(FlSwiperPluginConfig config, Color color, IconData iconData, int quarterTurns, bool previous) 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