YmTabPageView constructor
YmTabPageView(
- List<
String> tabs, - List items, {
- Key? key,
- double fontSize = 15,
- Size size = const Size(500, 500),
- double tabBarHeight = 40,
- int selectedIndex = 0,
- Color textColor = const Color(0xff666666),
- Color selectedTextColor = const Color(0xff606FFF),
- bool hasMoreData = true,
- String loadMoreText = "没有更多了~",
- required Function onChanged,
- required Function onItemBuilder,
- required Function onLoadMore,
Implementation
YmTabPageView(
this.tabs,
this.items, {
Key? key,
this.fontSize = 15,
this.size = const Size(500, 500),
this.tabBarHeight = 40,
this.selectedIndex = 0,
this.textColor = const Color(0xff666666),
this.selectedTextColor = const Color(0xff606FFF),
this.hasMoreData = true,
this.loadMoreText = "没有更多了~",
required this.onChanged,
required this.onItemBuilder,
required this.onLoadMore,
}) : super(key: key);