c90Beretta před 2 měsíci
rodič
revize
72dda3fe34
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      lib/mvvm/views/home/home_screen.dart

+ 2 - 2
lib/mvvm/views/home/home_screen.dart

@@ -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;