feat: Added exports
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
class ReactionIcon {
|
||||
final String type;
|
||||
final String assetName;
|
||||
|
||||
ReactionIcon({
|
||||
this.type,
|
||||
this.assetName,
|
||||
});
|
||||
}
|
||||
@@ -1,7 +1,12 @@
|
||||
library stream_chat_flutter_core;
|
||||
|
||||
/// A Calculator.
|
||||
class Calculator {
|
||||
/// Returns [value] plus 1.
|
||||
int addOne(int value) => value + 1;
|
||||
}
|
||||
export 'src/channel_list_view.dart';
|
||||
export 'src/channels_bloc.dart';
|
||||
export 'src/lazy_load_scroll_view.dart';
|
||||
export 'src/message_list_view.dart';
|
||||
export 'src/message_search_bloc.dart';
|
||||
export 'src/message_search_list_view.dart';
|
||||
export 'src/stream_channel.dart';
|
||||
export 'src/stream_chat.dart';
|
||||
export 'src/user_list_view.dart';
|
||||
export 'src/users_bloc.dart';
|
||||
|
||||
@@ -2,12 +2,4 @@ import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'package:stream_chat_flutter_core/stream_chat_flutter_core.dart';
|
||||
|
||||
void main() {
|
||||
test('adds one to input values', () {
|
||||
final calculator = Calculator();
|
||||
expect(calculator.addOne(2), 3);
|
||||
expect(calculator.addOne(-7), -6);
|
||||
expect(calculator.addOne(0), 1);
|
||||
expect(() => calculator.addOne(null), throwsNoSuchMethodError);
|
||||
});
|
||||
}
|
||||
void main() {}
|
||||
|
||||
Reference in New Issue
Block a user