import 'package:flutter/material.dart'; import 'package:huixiang/view_widget/my_appbar.dart'; import 'package:pull_to_refresh/pull_to_refresh.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import '../../view_widget/classic_header.dart'; import '../../view_widget/my_footer.dart'; class SecuritySetting extends StatefulWidget { @override State createState() { return _SecuritySetting(); } } class _SecuritySetting extends State { final RefreshController refreshController = RefreshController(); @override void initState() { super.initState(); } @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Color(0xFFF8F8FA), appBar: MyAppBar( title: "安全设置", titleColor: Colors.black, background: Colors.white, leadingColor: Colors.black, brightness: Brightness.dark, ), body: SmartRefresher( controller: refreshController, enablePullDown: true, enablePullUp: false, header: MyHeader( color: Colors.white, ), footer: CustomFooter( builder: (context, mode) { return MyFooter(mode); }, ), onRefresh: () { }, physics: BouncingScrollPhysics(), scrollController: ScrollController(), child: SingleChildScrollView( physics: BouncingScrollPhysics(), child:Container( margin: EdgeInsets.only(top: 24.h,left: 16.w,right: 16.w), child:Column( children: [ ], ), ), ), ), ); } }