enable lint prefer_interpolation_to_compose_strings (#83407)
This commit is contained in:
committed by
GitHub
parent
71e711547f
commit
34059eec2c
@@ -55,7 +55,7 @@ Widget toStyledText(String name, String text) {
|
||||
);
|
||||
}
|
||||
|
||||
Widget toPlainText(String name, String text) => Text(name + ':' + text);
|
||||
Widget toPlainText(String name, String text) => Text('$name:$text');
|
||||
|
||||
class SpeakerSeparator extends StatelessWidget {
|
||||
const SpeakerSeparator({Key? key}) : super(key: key);
|
||||
|
||||
Reference in New Issue
Block a user