refactor : base page
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import 'package:rasadyar_core/core.dart';
|
||||
import 'package:rasadyar_livestock/presentation/widgets/base_page/logic.dart';
|
||||
import 'package:rasadyar_livestock/presentation/widgets/base_page/logic.dart' hide BaseLogic;
|
||||
|
||||
class MapLogic extends GetxController {
|
||||
var ss = Get.find<DraggableBottomSheetController>();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:rasadyar_core/core.dart';
|
||||
import 'package:rasadyar_core/core.dart' hide BasePage;
|
||||
import 'package:rasadyar_livestock/presentation/page/map/widget/map_widget/view.dart';
|
||||
import 'package:rasadyar_livestock/presentation/widgets/base_page/view.dart';
|
||||
|
||||
@@ -36,7 +36,7 @@ class MapPage extends GetView<MapLogic> {
|
||||
Row(
|
||||
spacing: 12,
|
||||
children: [
|
||||
Expanded(
|
||||
/* Expanded(
|
||||
child: RTextField(
|
||||
height: 40,
|
||||
borderColor: AppColor.blackLight,
|
||||
@@ -51,7 +51,7 @@ class MapPage extends GetView<MapLogic> {
|
||||
)
|
||||
: IconButton(
|
||||
onPressed: () {
|
||||
controller.baseLogic.searchTextController.clear();
|
||||
// controller.baseLogic.searchTextController.clear();
|
||||
controller.baseLogic.searchValue.value = null;
|
||||
controller.baseLogic.isSearchSelected.value = false;
|
||||
//controller.mapLogic.hasFilterOrSearch.value = false;
|
||||
@@ -77,7 +77,7 @@ class MapPage extends GetView<MapLogic> {
|
||||
controller: controller.baseLogic.searchTextController,
|
||||
onChanged: (val) => controller.baseLogic.searchValue.value = val,
|
||||
),
|
||||
),
|
||||
),*/
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
Get.back();
|
||||
|
||||
@@ -2,7 +2,7 @@ import 'dart:io';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:rasadyar_core/core.dart';
|
||||
import 'package:rasadyar_core/core.dart' hide BasePage;
|
||||
import 'package:rasadyar_livestock/presentation/widgets/base_page/view.dart';
|
||||
|
||||
import 'logic.dart';
|
||||
|
||||
@@ -10,7 +10,7 @@ class RequestsPage extends GetView<RequestsLogic> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: RAppBar(title: 'لیست درخواستها', hasBack: false, centerTitle: true),
|
||||
/* appBar: RAppBar(title: 'لیست درخواستها', hasBack: false, centerTitle: true),*/
|
||||
body: Column(
|
||||
children: [
|
||||
SizedBox(height: 8),
|
||||
|
||||
@@ -12,7 +12,7 @@ class TaggingPage extends GetView<TaggingLogic> {
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
backgroundColor: Colors.white,
|
||||
appBar: RAppBar(
|
||||
/* appBar: RAppBar(
|
||||
title: 'پلاک کوبی',
|
||||
leadingWidth: 40,
|
||||
leading: Assets.vec.messageAddSvg.svg(width: 12, height: 12),
|
||||
@@ -37,7 +37,7 @@ class TaggingPage extends GetView<TaggingLogic> {
|
||||
child: Assets.icons.search.svg(width: 20, height: 20),
|
||||
),
|
||||
],
|
||||
),
|
||||
),*/
|
||||
body: Stack(
|
||||
children: [
|
||||
Column(
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import 'package:rasadyar_core/core.dart';
|
||||
import 'package:rasadyar_core/core.dart' hide BaseLogic;
|
||||
import 'package:rasadyar_livestock/presentation/page/auth/logic.dart';
|
||||
import 'package:rasadyar_livestock/presentation/page/auth/view.dart';
|
||||
import 'package:rasadyar_livestock/presentation/page/map/logic.dart';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:rasadyar_core/core.dart';
|
||||
import 'package:rasadyar_core/core.dart' hide BaseLogic;
|
||||
import 'package:rasadyar_livestock/presentation/widgets/base_page/logic.dart';
|
||||
|
||||
RAppBar2 liveStockAppBar({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:rasadyar_core/core.dart';
|
||||
import 'package:rasadyar_core/core.dart' hide BaseLogic, SearchWidget;
|
||||
import 'package:rasadyar_livestock/presentation/widgets/app_bar/i_app_bar.dart';
|
||||
import 'package:rasadyar_livestock/presentation/widgets/search.dart';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:rasadyar_core/core.dart';
|
||||
import 'package:rasadyar_core/core.dart' hide BaseLogic;
|
||||
|
||||
import 'base_page/logic.dart';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user