Issue 1:
Overview

This is implementation of BottomBar with multiple Navigation stack to archive multi-workspace UX, as explained in here.

Steps to Reproduce

Run this flutter app

import 'package:flutter/material.dart';

void main() {
runApp(new MyApp());
}

class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
home: new MyHomePage(),
);
}
}

class SecurePage extends StatelessWidget {
final int index;

SecurePage(this.index);

Widget build(BuildContext context) {
return new Column(
children: <Widget>[
new AppBar(
title: new Text('Secure'),
),
new Text('No $index'),
new Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: new TextField(
autofocus: index % 2 == 1,
decoration: const InputDecoration(
hintText: 'Search',
),
),
),
new IconButton(
icon: new Icon(Icons.verified_user),
onPressed: () {
Navigator.of(context).push(
new MaterialPageRoute(
builder: (BuildContext context) {
return new VerifiedPage(index + 1);
},
),
);
},
),
],
);
}
}

class VerifiedPage extends StatelessWidget {
final int index;

VerifiedPage(this.index);

Widget build(BuildContext context) {
return new Column(
children: <Widget>[
new AppBar(
title: new Text('Verity'),
),
new Text('No $index'),
new Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: new TextField(
autofocus: index % 2 == 1,
decoration: const InputDecoration(
hintText: 'Search',
),
),
),
new IconButton(
icon: new Icon(Icons.security),
onPressed: () {
Navigator.of(context).push(
new MaterialPageRoute(
builder: (BuildContext context) {
return new SecurePage(index + 1);
},
),
);
},
),
],
);
}
}

class MyHomePage extends StatefulWidget {
@override
State createState() => new MyHomePageState();
}

class MyHomePageState extends State<MyHomePage> {
int _page = 0;
List<Widget> initialWidgets = <Widget>[
new SecurePage(0),
new VerifiedPage(0),
];

Widget build(BuildContext context) {
return new Scaffold(
body: new Stack(
children: new List<Widget>.generate(initialWidgets.length, (int index) {
return new IgnorePointer(
ignoring: index != _page,
child: new Opacity(
opacity: _page == index ? 1.0 : 0.0,
child: new Navigator(
onGenerateRoute: (RouteSettings settings) {
return new MaterialPageRoute(
builder: (_) => initialWidgets[index],
);
},
),
),
);
}),
),
bottomNavigationBar: new BottomNavigationBar(
currentIndex: _page,
onTap: (int index) {
setState(() {
_page = index;
});
},
items: <BottomNavigationBarItem>[
new BottomNavigationBarItem(
icon: new Icon(Icons.security),
title: new Text('Secure'),
),
new BottomNavigationBarItem(
icon: new Icon(Icons.verified_user),
title: new Text('Verified'),
),
],
),
);
}
}

What is wrong

Keyboard is not coming up in the first view ('Secure'), although it received keyboard input. Note, IconButton is working fine.

Expected

TextField should work in both Secure and Verfity pages.

Issue 2:
Steps To Reproduce

class HomePage extends StatefulWidget {
@override
_HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
final int _pageCount = 2;
int _pageIndex = 0;

@override
Widget build(BuildContext context) {
return Scaffold(
body: _body(),
bottomNavigationBar: _bottomNavigationBar(),
);
}

Widget _body() {
return Stack(
children: List<Widget>.generate(_pageCount, (int index) {
return IgnorePointer(
ignoring: index != _pageIndex,
child: Opacity(
opacity: _pageIndex == index ? 1.0 : 0.0,
child: Navigator(
onGenerateRoute: (RouteSettings settings) {
return new MaterialPageRoute(
builder: (_) => _page(index),
settings: settings,
);
},
),
),
);
}),
);
}

Widget _page(int index) {
switch (index) {
case 0:
return Page1();
case 1:
return Page2();
}

throw "Invalid index $index";
}

BottomNavigationBar _bottomNavigationBar() {
final theme = Theme.of(context);
return new BottomNavigationBar(
fixedColor: theme.accentColor,
currentIndex: _pageIndex,
items: [
BottomNavigationBarItem(
icon: Icon(Icons.list),
title: Text("Page 1"),
),
BottomNavigationBarItem(
icon: Icon(Icons.account_circle),
title: Text("Page 2"),
),
],
onTap: (int index) {
setState(() {
_pageIndex = index;
});
},
);
}
}

In the above code If one Of the Page has a TextInputfield And i am currently on the active page, but i am not able to tap the text input all other buttons are working, the keyboard doesn't show up, or i don't thinks it's being clicked.

In the attached i am not able to tap on write message text box, i have moved its position also the issue still persist.