stub top-level constant

String const stub

Get file's Raw Contents

Implementation

const String stub = """
import 'package:flutter/material.dart';

/// Being used internally by TwWidgetBuilders for eg [TwTextBuilder]
abstract class TwWidgetBuilder<T extends Widget> {
  T render({Key? key});
}

abstract class TwWidgetContextBuilder<T extends Widget> {
  T render(BuildContext context, {Key? key});
}

abstract class TwTextSpanBuilder<TextSpan> {
  TextSpan render({Key? key});
}
""";