Update header widget
This commit is contained in:
parent
1e5382e8f1
commit
c6090a307a
|
@ -15,7 +15,7 @@ class HeaderWidget extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Container(
|
return Container(
|
||||||
padding: const EdgeInsets.only(left: 40, right: 40, top: 20, bottom: 15),
|
padding: const EdgeInsets.only(left: 40, right: 36, top: 20, bottom: 15),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
@ -31,6 +31,8 @@ class HeaderWidget extends StatelessWidget {
|
||||||
if (link != null)
|
if (link != null)
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () => context.router.navigate(link!.href),
|
onTap: () => context.router.navigate(link!.href),
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.all(4),
|
||||||
child: Text(
|
child: Text(
|
||||||
link!.text,
|
link!.text,
|
||||||
style: furmanTextStyle(const TextStyle(
|
style: furmanTextStyle(const TextStyle(
|
||||||
|
@ -40,6 +42,7 @@ class HeaderWidget extends StatelessWidget {
|
||||||
)),
|
)),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue