Autofixes says flutter
This commit is contained in:
@@ -347,7 +347,7 @@ class _ModManagerPageState extends State<ModManagerPage> {
|
|||||||
color: Theme.of(context).primaryColor,
|
color: Theme.of(context).primaryColor,
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
'Available Mods (${filteredAvailableMods.length}${_searchQuery.isNotEmpty ? '/' + _availableMods.length.toString() : ''})',
|
'Available Mods (${filteredAvailableMods.length}${_searchQuery.isNotEmpty ? '/${_availableMods.length}' : ''})',
|
||||||
style: const TextStyle(fontWeight: FontWeight.bold),
|
style: const TextStyle(fontWeight: FontWeight.bold),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
@@ -464,7 +464,7 @@ class _ModManagerPageState extends State<ModManagerPage> {
|
|||||||
color: Theme.of(context).primaryColor,
|
color: Theme.of(context).primaryColor,
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
'Active Mods (${filteredActiveMods.length}${_searchQuery.isNotEmpty ? '/' + _activeMods.length.toString() : ''})',
|
'Active Mods (${filteredActiveMods.length}${_searchQuery.isNotEmpty ? '/${_activeMods.length}' : ''})',
|
||||||
style: const TextStyle(fontWeight: FontWeight.bold),
|
style: const TextStyle(fontWeight: FontWeight.bold),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
|
@@ -208,7 +208,7 @@ class ModList {
|
|||||||
|
|
||||||
// Initialize the graph with empty dependency sets for all mods
|
// Initialize the graph with empty dependency sets for all mods
|
||||||
for (final mod in mods.values) {
|
for (final mod in mods.values) {
|
||||||
graph[mod.id] = Set<String>();
|
graph[mod.id] = <String>{};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add hard dependencies to the graph
|
// Add hard dependencies to the graph
|
||||||
@@ -246,7 +246,7 @@ class ModList {
|
|||||||
|
|
||||||
// Initialize the graph with empty sets
|
// Initialize the graph with empty sets
|
||||||
for (final mod in mods.values) {
|
for (final mod in mods.values) {
|
||||||
graph[mod.id] = Set<String>();
|
graph[mod.id] = <String>{};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add soft dependencies (loadAfter)
|
// Add soft dependencies (loadAfter)
|
||||||
|
Reference in New Issue
Block a user