Skip to content

Commit

Permalink
Removind dependency from RxDart
Browse files Browse the repository at this point in the history
  • Loading branch information
shinayser committed Dec 12, 2019
1 parent 3899566 commit 69f5be2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/widgets/lazy_stream_builder.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:rxdart/rxdart.dart';
//import 'package:rxdart/rxdart.dart';

///An extension of [StreamBuilder] that only calls the [builder] method
///when the snapshot returns a non-null value, returning this way an empty Container
Expand All @@ -14,7 +14,7 @@ class LazyStreamBuilder<T> extends StreamBuilder<T> {
key: key,
stream: stream,
builder: builder,
initialData: (stream is BehaviorSubject) ? ((stream as BehaviorSubject).value) : null,
// initialData: (stream is BehaviorSubject) ? ((stream as BehaviorSubject).value) : null,
);

final Widget onWaiting;
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: shinayser_essentials_flutter
description: A new Flutter project.
version: 1.16.0
version: 1.17.0
author:
homepage:

Expand All @@ -12,7 +12,7 @@ dependencies:
sdk: flutter

quiver: '>=2.0.0 <3.0.0'
rxdart: ^0.22.6
# rxdart: ^0.22.6

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 69f5be2

Please sign in to comment.