这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.2 KiB

import 'package:components/pages/index.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'controller.dart';
import './widget/notifier_card.dart';
class NotifierManagePage extends BasePage<NotifierManageController> {
const NotifierManagePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Page:Notification'.tr),
),
body: SingleChildScrollView(
child: Column(
children: [
Obx(() => SwitchListTile(
title: Text('Label:EnableNotificationTitle'.tr),
subtitle: Text('Label:EnableNotificationSubTitle'.tr),
value: bloc.state.isEnabled,
onChanged: bloc.onNotificationEnabled,
)),
ExpansionTile(
title: Text('Label:NotificationsTitle'.tr),
subtitle: Text('Label:NotificationsSubTitle'.tr),
children: [
Obx(() => NotifierCard(
groups: bloc.state.groups,
onChange: bloc.onSubscribed,
)),
],
),
],
),
),
);
}
}