nexus/lib/models/setting.dart
2026-06-30 21:48:08 -04:00

23 lines
444 B
Dart

import "package:flutter/material.dart";
class Setting<T> {
final String id;
final String title;
final T initialValue;
final String description;
final Widget Function(
String title,
String description,
ValueChanged<T> onChanged,
T currentValue,
)
builder;
Setting({
required this.id,
required this.title,
required this.initialValue,
required this.description,
required this.builder,
});
}