从通讯录添加

master
戴余标 2 years ago
parent 33e19f8d3d
commit 30755b1742

@ -0,0 +1,20 @@
import 'package:flutter/cupertino.dart';
import 'package:project_telephony/ui/widget/scaffold_theme_widget.dart';
class ExcludeContactsPage extends StatefulWidget {
const ExcludeContactsPage({Key? key}) : super(key: key);
@override
_ExcludeContactsPageState createState() => _ExcludeContactsPageState();
}
class _ExcludeContactsPageState extends State<ExcludeContactsPage> {
@override
Widget build(BuildContext context) {
return ScaffoldThemeWidget(
title: "从通讯录添加",
bottom: "添加",
child: Container(),
);
}
}

@ -1,5 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:project_telephony/ui/exclude/exclude_contacts_page.dart';
import 'package:project_telephony/ui/home/home_page.dart'; import 'package:project_telephony/ui/home/home_page.dart';
import 'package:project_telephony/utils/headers.dart'; import 'package:project_telephony/utils/headers.dart';
import 'package:project_telephony/ui/widget/plone_bottom.dart'; import 'package:project_telephony/ui/widget/plone_bottom.dart';
@ -76,7 +77,9 @@ class _SpecifyPhonePageState extends State<SpecifyPhonePage> {
_getAddPhone("通话记录添加", "通过本机通话记录添加号码", () { _getAddPhone("通话记录添加", "通过本机通话记录添加号码", () {
}), }),
_getAddPhone("通迅录添加", "通过本机通讯录添加号码", () {}), _getAddPhone("通迅录添加", "通过本机通讯录添加号码", () {
Get.to(()=>(const ExcludeContactsPage()));
}),
_getAddPhone( _getAddPhone(
"添加单个或批量号码", "通过输入号码段添加批量号码", () {}), "添加单个或批量号码", "通过输入号码段添加批量号码", () {}),
], ],

Loading…
Cancel
Save