Skip to content

Commit

Permalink
Fixed AppBar title
Browse files Browse the repository at this point in the history
  • Loading branch information
VadymPinchuk committed Jul 27, 2023
1 parent 0a027e3 commit 73b975d
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ class HomeView extends StatelessWidget {
key: GlobalKey(),
backgroundColor: Colors.black,
appBar: AppBar(
title: FractionallySizedBox(
widthFactor: 0.75,
child: Image.asset(
'assets/images/tfl_logo.png',
fit: BoxFit.cover,
),
title: Image.asset(
'assets/images/tfl_logo.png',
fit: BoxFit.contain,
),
),
body: const DetectorWidget(),
Expand Down

0 comments on commit 73b975d

Please sign in to comment.