mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
opt.: mem usage
This commit is contained in:
@@ -38,15 +38,9 @@ class DebugProvider extends ChangeNotifier {
|
||||
}
|
||||
|
||||
void addMultiline(Object data, [Color color = Colors.blue]) {
|
||||
final widget = Text(
|
||||
'$data',
|
||||
style: TextStyle(
|
||||
color: color,
|
||||
),
|
||||
);
|
||||
_addWidget(SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: widget,
|
||||
child: Text('$data', style: TextStyle(color: color)),
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user