title: Flutter: How to navigate page by clicking Text
body: <p>I want to click to the Text and navigate page. But when i press to the Text , nothing happens.</p>
  <p>Heres my code :</p>
  <pre><code> Align(
                          alignment: Alignment.centerRight,
                          child: RaisedButton(
                            onPressed: () {
                              setState(() {
                                Navigator.pushNamed(context, SignIn.id);
                              });
                            },
                            child: Text(
                              &quot;Sign In&quot;,
                              textAlign: TextAlign.right,
                            ),
                          ),
                        )
  </code></pre>
  <p>Heres main.dart :</p>
  <pre><code>class WoxisApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        initialRoute: Welcome.id,
        routes: {
          Welcome.id: (context) =&gt; Welcome(),
          SignIn.id: (context) =&gt; SignIn(),
        },
      );
    }
  }
  </code></pre>