Row was using CrossAxisAlignment.center by default, so a short YAML file appeared visually centered in the editor viewport — uncomfortable in any IDE-style surface where content is expected to start at the top edge regardless of how much of the viewport it fills. Set CrossAxisAlignment.stretch on the outer Row so the SingleChildScrollView fills the full vertical extent. The SCV's default scroll origin is the top, so once the viewport is taller than the content the file renders at the top with empty space below. Version 0.1.2 -> 0.1.3. Signed-off-by: flemming-it <sf@flemming.it>
23 lines
582 B
YAML
23 lines
582 B
YAML
name: fai_studio_flow_editor
|
|
description: Swappable inline YAML editor for F∆I Studio flows.
|
|
version: 0.1.3
|
|
publish_to: 'none'
|
|
repository: https://git.flemming.ai/fai/studio-flow-editor
|
|
|
|
environment:
|
|
sdk: ^3.11.0-200.1.beta
|
|
flutter: '>=3.30.0'
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
# CodeMirror-style code editor + the highlight package's
|
|
# YAML grammar. Both are pure Dart so the editor stays
|
|
# WebView-free and ships in the same binary.
|
|
flutter_code_editor: ^0.3.5
|
|
highlight: ^0.7.0
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|