searchTextField button remove elevation

null_safety
小赖 4 years ago
parent b61e860d4d
commit d52ac279c3

@ -22,6 +22,7 @@ class _ExampleTextFiledState extends State<ExampleTextFiled> {
children: [ children: [
ASSearchTextField.button( ASSearchTextField.button(
hintText: '搜索', hintText: '搜索',
onPressed: () {},
), ),
], ],
), ),

@ -78,6 +78,7 @@ class _ASSearchTextFieldState extends State<ASSearchTextField> {
child: MaterialButton( child: MaterialButton(
padding: EdgeInsets.zero, padding: EdgeInsets.zero,
color: Color(0xFFF8F8F8), color: Color(0xFFF8F8F8),
elevation: 0,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(21.w), borderRadius: BorderRadius.circular(21.w),
side: BorderSide( side: BorderSide(

Loading…
Cancel
Save