mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-07-04 07:18:11 +08:00
update: remote temp code
This commit is contained in:
@ -24,8 +24,8 @@ import 'package:flutter_go/components/search_input.dart';
|
|||||||
import 'package:flutter_go/model/search_history.dart';
|
import 'package:flutter_go/model/search_history.dart';
|
||||||
import 'package:flutter_go/resources/widget_name_to_icon.dart';
|
import 'package:flutter_go/resources/widget_name_to_icon.dart';
|
||||||
import 'package:flutter_go/model/user_info.dart';
|
import 'package:flutter_go/model/user_info.dart';
|
||||||
// 临时修复引入
|
|
||||||
import '../widgets/elements/Form/Input/TextField/index.dart' as TextField;
|
|
||||||
|
|
||||||
class AppPage extends StatefulWidget {
|
class AppPage extends StatefulWidget {
|
||||||
final UserInformation userInfo;
|
final UserInformation userInfo;
|
||||||
@ -99,10 +99,6 @@ class _MyHomePageState extends State<AppPage>
|
|||||||
void onWidgetTap(WidgetPoint widgetPoint, BuildContext context) {
|
void onWidgetTap(WidgetPoint widgetPoint, BuildContext context) {
|
||||||
String targetName = widgetPoint.name;
|
String targetName = widgetPoint.name;
|
||||||
String targetRouter = widgetPoint.routerName;
|
String targetRouter = widgetPoint.routerName;
|
||||||
// 临时修复TextField路径问题
|
|
||||||
if(widgetPoint.name == 'TextField'){
|
|
||||||
targetRouter = TextField.Demo.routeName;
|
|
||||||
}
|
|
||||||
searchHistoryList.add(
|
searchHistoryList.add(
|
||||||
SearchHistory(name: targetName, targetRouter: targetRouter));
|
SearchHistory(name: targetName, targetRouter: targetRouter));
|
||||||
print("searchHistoryList1 ${searchHistoryList.toString()}");
|
print("searchHistoryList1 ${searchHistoryList.toString()}");
|
||||||
|
Reference in New Issue
Block a user