You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.
testWidgets('should handle having no title', (WidgetTester tester) async {
final Title widget = new Title(
child: new Container(),
color: const Color(0xFF00FF00),
);
expect(widget.toString, isNot(throwsException));
expect(widget.title, equals(''));
expect(widget.color, equals(const Color(0xFF00FF00)));
});
The text was updated successfully, but these errors were encountered:
should be sth like this:
testWidgets('should handle having no title', (WidgetTester tester) async {
final Title widget = new Title(
child: new Container(),
color: const Color(0xFF00FF00),
);
expect(widget.toString, isNot(throwsException));
expect(widget.title, equals(''));
expect(widget.color, equals(const Color(0xFF00FF00)));
});
The text was updated successfully, but these errors were encountered: