Skip to content

Commit

Permalink
flutter format
Browse files Browse the repository at this point in the history
  • Loading branch information
arnold-parge committed Dec 12, 2021
1 parent 1dc5de9 commit b94abff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class _ScreenState extends State<Screen> with ScreenLoader {

/// A Stateless screen
class BasicScreen extends StatelessWidget with ScreenLoader {
BasicScreen({ Key? key }) : super(key: key);
BasicScreen({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
Expand Down
3 changes: 1 addition & 2 deletions lib/screen_loader.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class ScreenLoaderStream with StreamMixin<bool> {
bool get lastUpdate => false;
}


mixin ScreenLoader {
final ScreenLoaderStream _screenLoaderStream = ScreenLoaderStream();

Expand All @@ -35,7 +34,7 @@ mixin ScreenLoader {
stopLoading() {
_screenLoaderStream.update(false);
}

/// To avoid use of [startLoading] and [stopLoading] you use use
/// [performFuture] which will show the loader until the passed future call
/// is done executing
Expand Down

0 comments on commit b94abff

Please sign in to comment.