Commit 071ccbd4 authored by Administrator's avatar Administrator

remove ButtonBarTheme

parent 6e363f92
......@@ -63,24 +63,22 @@ class EditAthleteScreen extends StatelessWidget {
subtitle: Text('This athlete is not connected to a '
'Strava User yet'),
),
ButtonTheme.bar(
child: ButtonBar(
children: <Widget>[
FlatButton(
child: const Text('CONNECT TO STRAVA'),
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) =>
StravaGetUser(athlete: athlete),
),
);
},
)
],
),
)
ButtonBar(
children: <Widget>[
FlatButton(
child: const Text('CONNECT TO STRAVA'),
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) =>
StravaGetUser(athlete: athlete),
),
);
},
)
],
),
],
),
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment