dynamic category groups
This commit is contained in:
parent
6ed01cf61b
commit
6726e544bd
5 changed files with 335 additions and 92 deletions
12
lib/models/setting.dart
Normal file
12
lib/models/setting.dart
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import "package:flutter/material.dart";
|
||||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
part "setting.freezed.dart";
|
||||
|
||||
@freezed
|
||||
abstract class Setting with _$Setting {
|
||||
const factory Setting({
|
||||
required String title,
|
||||
required String description,
|
||||
required Widget widget,
|
||||
}) = _Setting;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue