Skip to content

Commit 594d744

Browse files
Remove unused code
1 parent 4a51c61 commit 594d744

File tree

4 files changed

+1
-91
lines changed

4 files changed

+1
-91
lines changed

example/lib/models/Constants.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import 'package:flutter/material.dart';
55
const darkGold = Color(0xFFBE830E);
66
const brickRed = Color(0xFFD89E7A);
77
const lightGold = Color(0xFFDBBA78);
8-
const lightBlue = Color(0xFF61B2CE);
98
const exLightBlue = Color(0xFFD8ECF3);
109
const darkCopper = Color(0xFFBE4E0E);
1110
const titleAsh = Color(0xFF30384D);
@@ -16,4 +15,4 @@ const bgOffWhite = Color(0xFFF2F4FC);
1615
const kDefaultPadding = 20.0;
1716

1817
double screenWidth(BuildContext context) => MediaQuery.of(context).size.width;
19-
double screenHeight(BuildContext context) => MediaQuery.of(context).size.height;
18+
// double screenHeight(BuildContext context) => MediaQuery.of(context).size.height;

example/lib/models/Extensions.dart

Lines changed: 0 additions & 31 deletions
This file was deleted.

example/lib/models/PlatformInfo.dart

Lines changed: 0 additions & 46 deletions
This file was deleted.

example/lib/models/SolidApi.dart

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
11
// Dart imports:
22
import 'dart:async';
3-
import 'dart:math';
43

54
// Package imports:
65
import 'package:http/http.dart' as http;
76

8-
const _chars =
9-
'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890_-';
10-
const _hexChars = '0123456789abcdef';
11-
Random _rnd = Random();
12-
13-
String getRandomString(int length) => String.fromCharCodes(Iterable.generate(
14-
length, (_) => _chars.codeUnitAt(_rnd.nextInt(_chars.length))));
15-
16-
String getRandomHex(int length) => String.fromCharCodes(Iterable.generate(
17-
length, (_) => _hexChars.codeUnitAt(_rnd.nextInt(_hexChars.length))));
18-
197
// Get private profile information using access and dPoP tokens
208
Future<String> fetchPrvProfile(
219
String profCardUrl, String accessToken, String dPopToken) async {

0 commit comments

Comments
 (0)