generateWidget abstract method

Future<Widget> generateWidget({
  1. double? maxWidth,
  2. double? maxHeight,
})

Use generateWidget to create whole widgets that are commonly pasted into a document, giving you full control of the new widgets generated

Implementation

Future<Widget> generateWidget({
  double? maxWidth,
  double? maxHeight,
});