@@ -40,7 +40,7 @@ final class StepManager with TerminalTools {
40
40
int _loadingStep = 0 ;
41
41
bool isInitialStep = true ;
42
42
final bool _colored;
43
- int _line_count = 0 ;
43
+ int _lineCount = 0 ;
44
44
45
45
StepManager (this ._terminal, this ._colored);
46
46
@@ -82,11 +82,11 @@ final class StepManager with TerminalTools {
82
82
final buffer = StringBuffer ();
83
83
84
84
if (Platform .isWindows) {
85
- _line_count += 1 ;
85
+ _lineCount += 1 ;
86
86
}
87
87
88
88
buffer.writeAnsiAll ([
89
- CursorPosition .moveTo (_position! .$2 + _line_count , _position! .$1),
89
+ CursorPosition .moveTo (_position! .$2 + _lineCount , _position! .$1),
90
90
SetStyles (Style .foreground (Color .green)),
91
91
Print ('✔ ' ),
92
92
if (! _colored) SetStyles .reset,
@@ -102,11 +102,11 @@ final class StepManager with TerminalTools {
102
102
final buffer = StringBuffer ();
103
103
104
104
if (Platform .isWindows) {
105
- _line_count += 1 ;
105
+ _lineCount += 1 ;
106
106
}
107
107
108
108
buffer.writeAnsiAll ([
109
- CursorPosition .moveTo (_position! .$2 + _line_count , _position! .$1),
109
+ CursorPosition .moveTo (_position! .$2 + _lineCount , _position! .$1),
110
110
SetStyles (Style .foreground (Color .yellow)),
111
111
Print ('⚠ ' ),
112
112
if (! _colored) SetStyles .reset,
@@ -122,11 +122,11 @@ final class StepManager with TerminalTools {
122
122
final buffer = StringBuffer ();
123
123
124
124
if (Platform .isWindows) {
125
- _line_count += 1 ;
125
+ _lineCount += 1 ;
126
126
}
127
127
128
128
buffer.writeAnsiAll ([
129
- CursorPosition .moveTo (_position! .$2 + _line_count , _position! .$1),
129
+ CursorPosition .moveTo (_position! .$2 + _lineCount , _position! .$1),
130
130
SetStyles (Style .foreground (Color .red)),
131
131
Print ('✘ ' ),
132
132
if (! _colored) SetStyles .reset,
0 commit comments