Visitar URL original
[pigeon] migrate to null-safety by Goddchen · Pull Request #300 · flutter/packages · GitHub
Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
formatter
  • Loading branch information
gaaclarke committed Mar 19, 2021
commit 55332602ea33b2f656a26e185d4aa06cbdfcf156
3 changes: 2 additions & 1 deletion packages/pigeon/lib/generator_tools.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class Indent {
}

/// Replaces the newlines and tabs of input and adds it to the stream.
void format(String input, {bool leadingSpace = true, bool trailingNewline = true}) {
void format(String input,
{bool leadingSpace = true, bool trailingNewline = true}) {
final List<String> lines = input.split('\n');
for (int i = 0; i < lines.length; ++i) {
final String line = lines[i];
Expand Down