Move to Flutter 3.47, use the improvements that come with this (#64)
Reviewed-on: #64
This commit is contained in:
parent
01b13b4764
commit
077044ec19
157 changed files with 1366 additions and 1457 deletions
|
|
@ -1,14 +1,13 @@
|
|||
import "package:fast_immutable_collections/fast_immutable_collections.dart";
|
||||
import "package:flutter/material.dart";
|
||||
import "package:material_ui/material_ui.dart";
|
||||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
import "package:nexus/models/setting.dart";
|
||||
|
||||
part "settings_category.freezed.dart";
|
||||
|
||||
@freezed
|
||||
abstract class SettingsCategory with _$SettingsCategory {
|
||||
const factory SettingsCategory({
|
||||
required String title,
|
||||
required IconData icon,
|
||||
required IList<Setting> settings,
|
||||
}) = _SettingsCategory;
|
||||
}
|
||||
class const SettingsCategory({
|
||||
required final String title,
|
||||
required final IconData icon,
|
||||
required final IList<Setting> settings,
|
||||
}) with _$SettingsCategory;
|
||||
|
|
|
|||
Loading…
Reference in a new issue