2017-09-09 15 views

답변

1

는 결과 enter image description here

+0

감사합니다,하지만 어떻게 기본 AppBar를 복원하는 것입니다 행

다음
.... Row toolbar = new Row( children: <Widget>[ new Icon(Icons.arrow_back), new Icon(Icons.menu), new Expanded(child: new Text(widget.title)), new Icon(Icons.arrow_forward) ] ); return new Scaffold( appBar: new AppBar( title: toolbar, ), .... 

와 도구 모음 위젯을 감싸? 사실, 뒤로 버튼과 메뉴 버튼은 기본적으로 AppBar 설정에서 자동으로 실행됩니다. 이제는 모든 사용자 정의 기능을 추가하고 핀, 부동, 제목 동작과 같은 기능을 잃어 버릴 수도 있습니다. –