Remove back button from demo appbars (#213)

pull/215/head
rami-a 5 years ago committed by GitHub
parent c986d0a68a
commit 417bd72874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,6 +12,7 @@ class CupertinoProgressIndicatorDemo extends StatelessWidget {
Widget build(BuildContext context) {
return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
automaticallyImplyLeading: false,
middle: Text(
GalleryLocalizations.of(context).demoCupertinoActivityIndicatorTitle,
),

@ -21,6 +21,7 @@ class _CupertinoSliderDemoState extends State<CupertinoSliderDemo> {
Widget build(BuildContext context) {
return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
automaticallyImplyLeading: false,
middle: Text(GalleryLocalizations.of(context).demoCupertinoSliderTitle),
),
child: DefaultTextStyle(

@ -20,6 +20,7 @@ class _CupertinoSwitchDemoState extends State<CupertinoSwitchDemo> {
Widget build(BuildContext context) {
return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
automaticallyImplyLeading: false,
middle: Text(
GalleryLocalizations.of(context).demoSelectionControlsSwitchTitle,
),

@ -39,6 +39,7 @@ class _BottomAppBarDemoState extends State<BottomAppBarDemo> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
automaticallyImplyLeading: false,
title: Text(GalleryLocalizations.of(context).demoBottomAppBarTitle),
),
body: ListView(

@ -93,6 +93,7 @@ class _ProgressIndicatorDemoState extends State<ProgressIndicatorDemo>
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
automaticallyImplyLeading: false,
title: Text(_title),
),
body: Center(

Loading…
Cancel
Save