buildLoopItem method
构建循环播放设置项
Implementation
SettingItem buildLoopItem() {
return SettingItem(
elementKey: SettingMenuElements.loop,
type: SettingItemType.switcher,
title: PlayerI18n.t(PlayerI18nKeys.loop),
switchListenable: controller.isLoopNotifier,
onSwitchChanged: (v) {
controller.setLoop(v);
},
);
}