mobile
This commit is contained in:
parent
0564cab301
commit
b0d343e6fc
@ -51,15 +51,25 @@ class _MainMenuState extends State<MainMenu> {
|
||||
children: [
|
||||
MenuButton(
|
||||
label: "E-furibuddy",
|
||||
icon: 'assets/icons/furrybuddy.svg',
|
||||
onPress: () => _onItemTapped(context, 0),
|
||||
isSelected: selectedIndex == 0,
|
||||
icon: 'assets/assets/icons/furrybuddy.svg',
|
||||
onPress:
|
||||
() => {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(builder: (context) => HomeScreen()),
|
||||
),
|
||||
},
|
||||
),
|
||||
MenuButton(
|
||||
label: "Koleksi",
|
||||
icon: 'assets/icons/Koleksi.svg',
|
||||
onPress: () => _onItemTapped(context, 1),
|
||||
isSelected: selectedIndex == 1,
|
||||
icon: 'assets/assets/icons/Koleksi.svg',
|
||||
onPress:
|
||||
() => {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(builder: (context) => KoleksiScreen()),
|
||||
),
|
||||
},
|
||||
),
|
||||
SizedBox(width: 100),
|
||||
MenuButton(
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:furibase/components/navbar_container.dart';
|
||||
import 'package:furibase/providers/character_provider.dart';
|
||||
import 'package:furibase/screen/Home_screen.dart';
|
||||
|
||||
10
pubspec.yaml
10
pubspec.yaml
@ -49,11 +49,11 @@ dependencies:
|
||||
# arcore_flutter_plugin:
|
||||
# git:
|
||||
# url: https://github.com/giandifra/arcore_flutter_plugin.git
|
||||
# flutter_unity_widget: ^2022.2.1
|
||||
flutter_unity_widget:
|
||||
git:
|
||||
url: https://github.com/juicycleff/flutter-unity-view-widget.git
|
||||
ref: flutter_3.24_android_hotfix
|
||||
flutter_unity_widget: ^2022.2.1
|
||||
# flutter_unity_widget:
|
||||
# git:
|
||||
# url: https://github.com/juicycleff/flutter-unity-view-widget.git
|
||||
# ref: flutter_3.24_android_hotfix
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user