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