INNER CODE UNIT · Dart
WidgetConfig
asjqkkkk/markdown_widget · lib/config/configs.dart:3
abstract class WidgetConfig {
///every config has a tag
String get tag;
}
//the basic block config interface
abstract class BlockConfig implements WidgetConfig {}
//the inline widget config interface
abstract class InlineConfig implements WidgetConfig {}
//the container block config interface
abstract class ContainerConfig implements BlockConfig {}
//the leaf block config interface
abstract class LeafConfig implements BlockConfig {}
typedef ValueCallback<T> = void Function(T value);