Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/dart-ui/canvas_draw_arc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/dart-ui/path_add_arc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/dart-ui/path_add_arc_ccw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion bin/generate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,9 @@ class DiagramGenerator {
.where((File input) => path.basename(input.path) == 'error.log')
.toList();

if (errorFiles.length != 1)
if (errorFiles.length != 1) {
throw GeneratorException('Subprocess did not complete cleanly!');
}

print('Processing ${inputFiles.length - 1} files...');

Expand Down
4 changes: 3 additions & 1 deletion bin/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ dependencies:
process_runner: ">=4.0.0 <5.0.0"

dev_dependencies:
args: ^2.3.1
analyzer: ^4.1.0
test: ^1.16.8
path: ^1.8.0
process: ^4.2.1

environment:
sdk: ">=2.17.0-0 <3.0.0"

4 changes: 2 additions & 2 deletions bin/test/fake_process_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class StringStreamConsumer implements StreamConsumer<List<int>> {
}),
);
subscriptions.last.onDone(() => completers.last.complete(null));
return Future<dynamic>.value(null);
return Future<dynamic>.value();
}

@override
Expand All @@ -254,6 +254,6 @@ class StringStreamConsumer implements StreamConsumer<List<int>> {
completers.clear();
streams.clear();
subscriptions.clear();
return Future<dynamic>.value(null);
return Future<dynamic>.value();
}
}
1 change: 1 addition & 0 deletions packages/diagram_generator/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Future<void> main(List<String> args) async {
AlignDiagramStep(controller),
AnimationStatusValueDiagramStep(controller),
AppBarDiagramStep(controller),
ArcDiagramStep(controller),
BlendModeDiagramStep(controller),
BottomNavigationBarDiagramStep(controller),
BoxDecorationDiagramStep(controller),
Expand Down
1 change: 1 addition & 0 deletions packages/diagrams/lib/diagrams.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export 'src/align.dart';
export 'src/animation_diagram.dart';
export 'src/animation_status_value.dart';
export 'src/app_bar.dart';
export 'src/arc_diagram.dart';
export 'src/blend_mode.dart';
export 'src/bottom_navigation_bar.dart';
export 'src/box_decoration.dart';
Expand Down
Loading