Change pay button design

This commit is contained in:
poka 2021-02-17 01:13:47 +01:00
parent b69d8d3f2b
commit c55b1ed3d4
1 changed files with 14 additions and 12 deletions

View File

@ -282,7 +282,6 @@ class HistoryScreen extends StatelessWidget with ChangeNotifier {
padding: EdgeInsets.all(8.0), padding: EdgeInsets.all(8.0),
child: TextFormField( child: TextFormField(
textAlign: TextAlign.center, textAlign: TextAlign.center,
autofocus: true,
maxLines: 1, maxLines: 1,
keyboardType: TextInputType.number, keyboardType: TextInputType.number,
inputFormatters: <TextInputFormatter>[ inputFormatters: <TextInputFormatter>[
@ -291,17 +290,20 @@ class HistoryScreen extends StatelessWidget with ChangeNotifier {
), ),
), ),
Padding( Padding(
padding: const EdgeInsets.all(8.0), padding: const EdgeInsets.only(top: 15),
child: RaisedButton( child: OutlineButton(
child: Text("Payer"), borderSide: BorderSide(width: 2, color: Color(0xffD28928)),
color: Color(0xffFFD68E), onPressed: () {
onPressed: () { if (_formKey.currentState.validate()) {
if (_formKey.currentState.validate()) { _formKey.currentState.save();
_formKey.currentState.save(); }
} },
}, child: Padding(
), padding: const EdgeInsets.all(12),
) child: Text("PAYER",
style: TextStyle(
fontSize: 25, color: Colors.grey[850]))),
))
], ],
), ),
), ),