AppBarView constructor Null safety
- {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()
]
);