xrb21 / flutter-html-editor

MIT License
82 stars 64 forks source link

how do I set the height to fill all the space? #7

Open studiozocaro opened 4 years ago

studiozocaro commented 4 years ago

how do I set the height to fill all the space?

height: ????,

yokoboko commented 4 years ago
LayoutBuilder(
          builder: (context, constraints) => HtmlEditor(
            hint: "Your text here...",
            //value: "text content initial, if any",
            key: keyEditor,
            height: constraints.maxHeight,
            showBottomToolbar: false,
          ),
        )