appBar method

PreferredSize? appBar(
  1. String title, {
  2. bool isThin = true,
  3. bool? centerTitle,
  4. List<Widget>? actions,
  5. Widget? leading,
  6. Widget? bottom,
})

Implementation

PreferredSize? appBar(
  String title, {
  bool isThin = true,
  bool? centerTitle,
  List<Widget>? actions,
  Widget? leading,
  Widget? bottom,
}) {
  return appBarChild(
    Text(title),
    isThin: isThin,
    centerTitle: centerTitle,
    actions: actions,
    leading: leading,
    bottom: bottom,
  );
}