Hi.
I'm learning Flutter and I test and looking for the web to understand the hierarchy of flutter development !
I would like to do that
There is my code with no issues:
import 'package:flutter/material.dart';
class Intro extends StatelessWidget{
@override
Widget build(BuildContext context) {
return Scaffold(
body: Stack(
children: <Widget>[
Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('images/background.png'),
fit: BoxFit.cover
)
),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text(
'NAME',
style: TextStyle(
fontFamily: 'Raleway',
fontSize: 76,
color: const Color(0xffffffff),
fontStyle: FontStyle.italic,
fontWeight: FontWeight.bold,
),
),
Text(
'Description',
style: TextStyle(
fontFamily: 'Raleway',
fontSize: 16,
color: const Color(0xffffffff),
letterSpacing: 0.40,
fontStyle: FontStyle.italic,
fontWeight: FontWeight.w300,
),
),
Align(
alignment: Alignment.bottomCenter,
child: Text(
'Other description',
style: TextStyle(
fontFamily: 'Raleway',
fontSize: 14,
color: const Color(0xffffffff),
fontWeight: FontWeight.w300,
),
textAlign: TextAlign.center,
),
),
],
),
],
),
),
]
),
);
}
}
I have tested other solutions without results, but I can't understand the flutter hierarchy and I don't understand why my code is not working.
I want "other description" text on the bottom of screen.
Thanks for explanation and your help.