INNER CODE UNIT · Dart

Function

bluefireteam/dashbook · lib/src/story.dart:141

  void action(String name, void Function(BuildContext) callback) {
    actions[name] = callback;
  }

  /// Function to add a property to properties panel.
  ///
  /// To add a property could extend [Property] or create a property with an
  /// anonymous property widget builder with [Property.withBuilder]
  T addProperty<T>(Property<T> property) {
    return properties.putIfAbsent(property.name, () => property).getValue()
        as T;
  }

  String textProperty(
    String name,
    String defaultValue, {
    String? tooltipMessage,
    ControlProperty? visibilityControlProperty,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…