This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| class GraphView extends StatefulWidget { | |
| const GraphView({super.key}); | |
| @override | |
| State<GraphView> createState() => _GraphViewState(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:bloc_presentation/bloc_presentation.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_bloc/flutter_bloc.dart'; | |
| sealed class CounterPresentationEvent {} | |
| class ShowEncouragementSnackBar extends CounterPresentationEvent { | |
| final int remaining; | |
| ShowEncouragementSnackBar(this.remaining); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| import RxSwift | |
| import RxCocoa | |
| import CoreStore | |
| private class RxCoreStoreListObserver<B: FetchChainableBuilderType>: Disposable where B.ObjectType: NSManagedObject { | |
| private var monitor: ListMonitor<B.ObjectType>! | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| import RxSwift | |
| import RxCocoa | |
| import CoreStore | |
| private class RxCoreStorePropertyObserver<ObjectEntity: NSManagedObject, Property>: Disposable { | |
| private var monitor: ObjectMonitor<ObjectEntity>! | |
| private var propertyKeyPath: KeyPath<ObjectEntity, Property>! |