|
@@ -17,7 +17,7 @@ class Formulario extends State<HomeScreen> {
|
|
|
|
|
|
@override
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
Widget build(BuildContext context) {
|
|
- var _selectedIndex;
|
|
|
|
|
|
+
|
|
return Scaffold(
|
|
return Scaffold(
|
|
backgroundColor: Colors.grey.shade200,
|
|
backgroundColor: Colors.grey.shade200,
|
|
appBar: AppBar(
|
|
appBar: AppBar(
|
|
@@ -27,7 +27,7 @@ class Formulario extends State<HomeScreen> {
|
|
children: [
|
|
children: [
|
|
NavigationRail(
|
|
NavigationRail(
|
|
backgroundColor: Color.fromARGB(255, 25, 30, 41),
|
|
backgroundColor: Color.fromARGB(255, 25, 30, 41),
|
|
- selectedIndex: _selectedIndex,
|
|
|
|
|
|
+ selectedIndex: ,
|
|
onDestinationSelected: (int index) {
|
|
onDestinationSelected: (int index) {
|
|
setState(() {
|
|
setState(() {
|
|
_selectedIndex = index;
|
|
_selectedIndex = index;
|