Autofixes says flutter
This commit is contained in:
@@ -347,7 +347,7 @@ class _ModManagerPageState extends State<ModManagerPage> {
|
||||
color: Theme.of(context).primaryColor,
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
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),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
@@ -464,7 +464,7 @@ class _ModManagerPageState extends State<ModManagerPage> {
|
||||
color: Theme.of(context).primaryColor,
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
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),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
|
@@ -208,7 +208,7 @@ class ModList {
|
||||
|
||||
// Initialize the graph with empty dependency sets for all mods
|
||||
for (final mod in mods.values) {
|
||||
graph[mod.id] = Set<String>();
|
||||
graph[mod.id] = <String>{};
|
||||
}
|
||||
|
||||
// Add hard dependencies to the graph
|
||||
@@ -246,7 +246,7 @@ class ModList {
|
||||
|
||||
// Initialize the graph with empty sets
|
||||
for (final mod in mods.values) {
|
||||
graph[mod.id] = Set<String>();
|
||||
graph[mod.id] = <String>{};
|
||||
}
|
||||
|
||||
// Add soft dependencies (loadAfter)
|
||||
|
Reference in New Issue
Block a user