Browse Source

no message

master
ZHR007 2 months ago
parent
commit
0bd44c10f5
1 changed files with 7 additions and 0 deletions
  1. 7
      lib/pages/setting/setting_page.dart

7
lib/pages/setting/setting_page.dart

@ -26,6 +26,9 @@ class SettingPage extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
var cellStyle = TDCellStyle.cellStyle(context);
cellStyle.cardPadding = EdgeInsets.symmetric(horizontal: 10);
cellStyle.padding = EdgeInsets.only(left: 16, top: 12, bottom: 12, right: 12);
return Scaffold( return Scaffold(
backgroundColor: Color(0xffF5F5F5), backgroundColor: Color(0xffF5F5F5),
appBar: PageAppbar(title: "设置"), appBar: PageAppbar(title: "设置"),
@ -36,6 +39,7 @@ class SettingPage extends StatelessWidget {
children: [ children: [
TDCellGroup( TDCellGroup(
theme: TDCellGroupTheme.cardTheme, theme: TDCellGroupTheme.cardTheme,
style: cellStyle,
cells: [ cells: [
TDCell( TDCell(
arrow: false, arrow: false,
@ -71,6 +75,7 @@ class SettingPage extends StatelessWidget {
const SizedBox(height: 12), const SizedBox(height: 12),
TDCellGroup( TDCellGroup(
theme: TDCellGroupTheme.cardTheme, theme: TDCellGroupTheme.cardTheme,
style: cellStyle,
cells: [ cells: [
TDCell(arrow: true, TDCell(arrow: true,
titleWidget: Text( titleWidget: Text(
@ -113,6 +118,7 @@ class SettingPage extends StatelessWidget {
const SizedBox(height: 12), const SizedBox(height: 12),
TDCellGroup( TDCellGroup(
theme: TDCellGroupTheme.cardTheme, theme: TDCellGroupTheme.cardTheme,
style: cellStyle,
cells: [ cells: [
TDCell(arrow: true, TDCell(arrow: true,
titleWidget: Text( titleWidget: Text(
@ -173,6 +179,7 @@ class SettingPage extends StatelessWidget {
const SizedBox(height: 12), const SizedBox(height: 12),
TDCellGroup( TDCellGroup(
theme: TDCellGroupTheme.cardTheme, theme: TDCellGroupTheme.cardTheme,
style: cellStyle,
cells: [ cells: [
TDCell(arrow: true, TDCell(arrow: true,
titleWidget: Text( titleWidget: Text(

Loading…
Cancel
Save