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