title: Flutter : change position of text on the appbar
body: <p>How can i change the position of my text "Sito Web" on the right of the appbar? I tryid with</p>
  
  <pre><code>alignment: Alignment.TopRight
  </code></pre>
  
  <p>but he move it the text on the top right corner down the appbar. Here a screen of what i mean <a href="https://ibb.co/X28TzNN" rel="nofollow noreferrer">https://ibb.co/X28TzNN</a> change the position of "Sito Web" in the position of the red cirle. That's the codes, i tryid with this method too, but can't move in the appbar. Here the file with the appbar background_image_task-9.dart</p>
  
  <pre><code>import 'package:flutter/material.dart';
  
  class BackgroundImage extends StatelessWidget{
    final Widget body;
    BackgroundImage({this.body});
      @override
      Widget build(BuildContext context){
        return Scaffold(
          appBar: AppBar(
            elevation: 0,
            title: Text('Blumax', style: TextStyle(
              fontWeight: FontWeight.w500,
              fontFamily: 'DancingScript',
              fontSize: 40
            ),),
            centerTitle: false,
          ),
          body: Stack(
            children: &lt;Widget&gt;[Container(
            decoration: BoxDecoration(
              image: DecorationImage(image: AssetImage("assets/blumax.jpg"), fit: BoxFit.cover),
            ),
          ),
            body
           ]
         )
      );
    }
  }
  </code></pre>
  
  <p>And here the file with the container hyperlink.dart</p>
  
  <pre><code>import 'package:flutter/material.dart';
  import 'package:url_launcher/url_launcher.dart';
  
  class Hyperlink extends StatelessWidget {
    final String _url;
    final String _text;
  
    Hyperlink(this._url, this._text);
  
    _launchURL() async {
      if (await canLaunch(_url)) {
        await launch(_url);
      } else {
        throw 'Could not launch $_url';
      }
    }
  
    @override
    Widget build(BuildContext context) {
      return InkWell(
        child: Container(
          alignment: Alignment(0.9, -1.0),
        child: Text(
          _text,
          textAlign: TextAlign.right,
          style: TextStyle(
            fontFamily: 'RobotoMono',
            fontSize: 20,
            color: Colors.white,
            decoration: TextDecoration.underline),
        )),
        onTap: _launchURL,
      );
    }
  }
  </code></pre>
  
  <p>main.dart</p>
  
  <pre><code>import 'package:flutter/material.dart';
  import 'background_image_task-9.dart';
  import 'hyperlink.dart';
  
  void main() =&gt; runApp(MyApp());
  
  class MyApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        title: 'Blumax',
        debugShowCheckedModeBanner: false,
        theme: ThemeData(
          primarySwatch: myColour
        ),
        home: BackgroundImage(
          body: Center(
            child: Hyperlink('www.test.it', 'Sito Web',),
          ),
        )
      );
    }
  }
  </code></pre>