File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class _StravaFlutterPageState extends State<StravaFlutterPage> {
4747 secret, // Put your secret key in secret.dart file
4848 "http://localhost:8080" ,
4949 'auto' ,
50- 'profile:read_all' , // The scope you need
50+ 'profile:read_all, profile:write ' , // The scope you need
5151 // Check https://developers.strava.com/docs/oauth-updates/ scope update
5252 );
5353
Original file line number Diff line number Diff line change @@ -22,17 +22,17 @@ class DetailedAthlete {
2222 int badgeTypeId;
2323 String profileMedium;
2424 String profile;
25- Null friend;
26- Null follower;
25+ String friend;
26+ String follower;
2727 int followerCount;
2828 int friendCount;
2929 int mutualFriendCount;
3030 int athleteType;
3131 String datePreference;
3232 String measurementPreference;
33- List <Null > clubs;
34- Null ftp;
35- int weight;
33+ // List<Null> clubs;
34+ int ftp;
35+ double weight;
3636 List <Bikes > bikes;
3737 List <Shoes > shoes;
3838
@@ -61,7 +61,7 @@ class DetailedAthlete {
6161 this .athleteType,
6262 this .datePreference,
6363 this .measurementPreference,
64- this .clubs,
64+ // this.clubs,
6565 this .ftp,
6666 this .weight,
6767 this .bikes,
You can’t perform that action at this time.
0 commit comments