Skip to content

Commit dff3bb4

Browse files
committed
Format
1 parent c2a4054 commit dff3bb4

File tree

5 files changed

+7
-11
lines changed

5 files changed

+7
-11
lines changed

packages/boustro/lib/src/context.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ class BoustroContext {
1717
List<ParagraphEmbedBuilder>? embedHandlers,
1818
}) : this._(
1919
lineHandlers ?? const [],
20-
{
21-
for (var h in embedHandlers ?? <ParagraphEmbedBuilder>[])
22-
h.key: h
23-
},
20+
{for (var h in embedHandlers ?? <ParagraphEmbedBuilder>[]) h.key: h},
2421
);
2522

2623
BoustroContext._(
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'package:flutter_test/flutter_test.dart';
22
import 'package:boustro/boustro.dart';
33

4-
void main() {
5-
}
4+
void main() {}

packages/boustro_starter/lib/src/embeds/image.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ class _ImageEmbed extends StatelessWidget {
146146
return ConstrainedBox(
147147
constraints: const BoxConstraints(maxHeight: 300),
148148
child: Container(
149-
color: isDark ? Colors.deepPurple.shade900.withOpacity(0.2): Colors.brown.withOpacity(0.2),
149+
color: isDark
150+
? Colors.deepPurple.shade900.withOpacity(0.2)
151+
: Colors.brown.withOpacity(0.2),
150152
child: image,
151153
),
152154
);

packages/boustro_starter/test/boustro_starter_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ import 'package:flutter_test/flutter_test.dart';
22

33
import 'package:boustro_starter/boustro_starter.dart';
44

5-
void main() {
6-
}
5+
void main() {}

packages/flutter_spanned_controller/test/span.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,7 @@ void main() {
207207
});
208208
}
209209

210-
abstract class MockSpan extends TextAttribute {
211-
}
210+
abstract class MockSpan extends TextAttribute {}
212211

213212
AttributeSpan sp<T extends MockSpan>(
214213
T attr,

0 commit comments

Comments
 (0)