fd
This commit is contained in:
parent
5688c23d7e
commit
d91b1c5f3c
@ -2,7 +2,8 @@
|
||||
<application
|
||||
android:label="wallpaper"
|
||||
android:name="${applicationName}"
|
||||
android:icon="@mipmap/ic_launcher">
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:usesCleartextTraffic="true">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:exported="true"
|
||||
|
||||
@ -65,6 +65,7 @@ class _RootWidgetState extends State<RootWidget> {
|
||||
),
|
||||
appBarTheme: const AppBarTheme(
|
||||
backgroundColor: Colors.black,
|
||||
centerTitle: true,
|
||||
titleTextStyle: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 18,
|
||||
|
||||
@ -5,7 +5,7 @@ import 'mypage_controller.dart';
|
||||
class MyPageBinding extends Bindings {
|
||||
@override
|
||||
void dependencies() {
|
||||
Get.put(() => MyPageController());
|
||||
Get.put( MyPageController());
|
||||
}
|
||||
|
||||
}
|
||||
@ -10,6 +10,7 @@ class WebviewPageView extends GetView <WebviewPageController> {
|
||||
Widget build(BuildContext context) {
|
||||
return Obx(() => Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: true,
|
||||
title: Text(controller.titleStr.value),
|
||||
),
|
||||
body: InAppWebView(
|
||||
|
||||
@ -3,6 +3,7 @@ import 'package:wallpaper/pages/imgcategorypage/imgcategorypage_binding.dart';
|
||||
import 'package:wallpaper/pages/imgcategorypage/imgcategorypage_view.dart';
|
||||
import 'package:wallpaper/pages/imgscanpage/imgscanpage_binding.dart';
|
||||
import 'package:wallpaper/pages/imgscanpage/imgscanpage_view.dart';
|
||||
import 'package:wallpaper/pages/mypage/mypage_view.dart';
|
||||
|
||||
import 'package:wallpaper/pages/tabarpage/tabarpage_binding.dart';
|
||||
import 'package:wallpaper/pages/tabarpage/tabarpage_view.dart';
|
||||
@ -24,12 +25,12 @@ class AppRoutes {
|
||||
static const imgcategorypage = "/ImgCategoryPage";
|
||||
static const imgscanpage = "/imgscanpage";
|
||||
static const webviewpage = "/webviewpage";
|
||||
|
||||
// static const mypage = "/mypage";
|
||||
static final routes= [
|
||||
GetPage(
|
||||
name: initialPage,
|
||||
page: ()=> const TabbarPageView(),
|
||||
bindings: [TabbarPageBinding(), HomePageBinding(),DownloadPageBinding(),MyPageBinding()],
|
||||
bindings: [TabbarPageBinding(),MyPageBinding(), HomePageBinding(),DownloadPageBinding()],
|
||||
),
|
||||
GetPage(
|
||||
name: imgcategorypage,
|
||||
@ -41,6 +42,14 @@ class AppRoutes {
|
||||
page: ()=> ImgScanPageView(),
|
||||
bindings: [ImgScanPageBinding()],
|
||||
),
|
||||
// GetPage(
|
||||
// name: mypage,
|
||||
// page: ()=> const MyPageView(),
|
||||
// bindings: [MyPageBinding()],
|
||||
// ),
|
||||
|
||||
|
||||
|
||||
GetPage(
|
||||
name: webviewpage,
|
||||
page: ()=> const WebviewPageView(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user