Skip to content

Commit

Permalink
[Issue #120] fix conflict between the naming of material.SearchBar an…
Browse files Browse the repository at this point in the history
…d ume's SearchBar. (#122)

* fix conflicted SearchBar

* add comment
  • Loading branch information
Atsumi3 committed Sep 8, 2023
1 parent e66342d commit ad520b5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import 'package:flutter/material.dart';
import 'package:flutter_ume_kit_ui/components/hit_test.dart';
import 'package:flutter_ume/flutter_ume.dart';
import 'package:flutter_ume_kit_ui/util/binding_ambiguate.dart';
import 'search_bar.dart';

// There was a conflict between the naming of material.SearchBar and ume's SearchBar.
import 'search_bar.dart' as search_bar;
import 'icon.dart' as icon;

class WidgetDetailInspector extends StatelessWidget implements Pluggable {
Expand Down Expand Up @@ -199,7 +201,7 @@ class __InfoPageState extends State<_InfoPage> {
Padding(
padding: const EdgeInsets.only(
left: 12, right: 12, top: 10, bottom: 10),
child: SearchBar(
child: search_bar.SearchBar(
placeHolder: '请输入要搜索的widget', onChangeHandle: _textChange),
),
Expanded(
Expand Down

0 comments on commit ad520b5

Please sign in to comment.