修改 edit tile

master
张萌 3 years ago
parent ac6c97ee8c
commit 8359e7ba61

@ -1,5 +1,6 @@
import 'package:ansu_ui/extension/num_extension.dart';
import 'package:ansu_ui/styles/as_colors.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
@ -74,10 +75,11 @@ class ASEditTile extends StatelessWidget {
fontWeight: FontWeight.bold,
),
decoration: InputDecoration(
suffix: 10.wb,
border: InputBorder.none,
isDense: true,
contentPadding: EdgeInsets.zero,
hintText: hintText,
hintText: '$hintText',
hintStyle: hintTextStyle ??
TextStyle(
color: kTextSubColor,
@ -86,7 +88,6 @@ class ASEditTile extends StatelessWidget {
),
),
),
10.wb,
Offstage(
offstage: suffix == null,
child: suffix,

Loading…
Cancel
Save