mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
34 lines
794 B
Dart
34 lines
794 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_svg/flutter_svg.dart';
|
|
import 'package:go_router/go_router.dart';
|
|
import 'package:syncrow_web/utils/constants/assets.dart';
|
|
import 'package:syncrow_web/utils/constants/routes_const.dart';
|
|
|
|
class NavigateHomeGridView extends StatelessWidget {
|
|
const NavigateHomeGridView({
|
|
super.key,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Row(
|
|
mainAxisAlignment: MainAxisAlignment.end,
|
|
children: [
|
|
InkWell(
|
|
onTap: () {
|
|
context.go(RoutesConst.home);
|
|
},
|
|
child: SvgPicture.asset(
|
|
height: 20,
|
|
width: 20,
|
|
Assets.grid,
|
|
),
|
|
),
|
|
const SizedBox(
|
|
width: 10,
|
|
)
|
|
],
|
|
);
|
|
}
|
|
}
|