Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

Permalink
remove dummy code
Browse files Browse the repository at this point in the history
  • Loading branch information
mchome committed Feb 18, 2020
1 parent a9c2a3d commit ef05227
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
12 changes: 0 additions & 12 deletions lib/src/transition/transition_to_image.dart
Expand Up @@ -257,18 +257,6 @@ class _TransitionToImageState extends State<TransitionToImage>

ImageProvider get _imageProvider => widget.image;

// bool _isProgressiveJPEG(List<int> data) {
// if (data.contains(0xFFD8)) {
// int count = 0;
// for (int el in data) {
// if (el == 0xFFDA) count++;
// if (count > 1) return true;
// }
// }

// return false;
// }

@override
void initState() {
_controller = AnimationController(vsync: this, duration: widget.duration)
Expand Down
6 changes: 0 additions & 6 deletions lib/src/utils.dart
Expand Up @@ -435,12 +435,6 @@ Future<Uint8List> loadFromRemote(
return null;
}

bool get isInDebugMode {
bool inDebugMode = false;
assert(inDebugMode = true);
return inDebugMode;
}

class DoubleTween extends Tween<double> {
DoubleTween({double begin, double end}) : super(begin: begin, end: end);

Expand Down

0 comments on commit ef05227

Please sign in to comment.