AppBarView constructor Null safety

AppBarView(
  1. {Key? key}
)

Implementation

AppBarView({Key? key})
  : super(
    key: key,
    title: const Text("Soreo"),
    actions: [
      Padding(
        padding: const EdgeInsets.all(8),
        child: Builder(
            builder: (ctx) => GestureDetector(
              child: const Icon(Icons.search),
              onTap: () => Navigator.of(ctx)
                  .push(MaterialPageRoute(
                  builder: (_) => SearchPage(repository: ctx.read())
              )),
            )
        )
      ),
      const UserIconPage()
    ]
  );