mirrored_repositories/AppFlowy/frontend/appflowy_flutter/packages/flowy_infra_ui/example/lib
import 'package:flutter/material.dart';

abstract class ListItem {}

abstract class DemoItem extends ListItem {
  String buildTitle();

  void handleTap(BuildContext context);
}

class SectionHeaderItem extends ListItem {
  SectionHeaderItem(this.title);

  final String title;

  Widget buildWidget(BuildContext context) => Text(title);
}
