Center(
child: Container(
decoration: BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: [Colors.blue[500], Colors.blue[300]])),
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
SizedBox(height: 80,),
Padding(
padding: EdgeInsets.all(20),
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
CircleAvatar(
backgroundImage: AssetImage("assets/images/logo.jpg"),
radius: 80.0,
),
SizedBox(height: 20,),
Text("Welcome Bajarangisoft", style: TextStyle(color: Colors.white, fontSize: 22),),
],
),
),
SizedBox(height: 5),
Expanded(
child: Container(
child: SingleChildScrollView(
child: Padding(
padding: EdgeInsets.all(20),
child: Column(
children: <Widget>[
Container(
child: Column(
children: <Widget>[
Container(
child: Text("Lorem Ipsum is simply dummy text of the printing and typesetting industry."
" Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, "
"when an unknown printer took a galley of type and scrambled it to make a type specimen book."
"The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.",
style: TextStyle(color: Colors.white),
)
),
],
),
),
],
),
),
),
),
)
],
),
))
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: HomePage(),
);
}
}
class HomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Container(
decoration: BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: [Colors.blue[500], Colors.blue[300]])),
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
SizedBox(height: 80,),
Padding(
padding: EdgeInsets.all(20),
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
CircleAvatar(
backgroundImage: AssetImage("assets/images/logo.jpg"),
radius: 80.0,
),
SizedBox(height: 20,),
Text("Welcome Bajarangisoft", style: TextStyle(color: Colors.white, fontSize: 22),),
],
),
),
SizedBox(height: 5),
Expanded(
child: Container(
child: SingleChildScrollView(
child: Padding(
padding: EdgeInsets.all(20),
child: Column(
children: <Widget>[
Container(
child: Column(
children: <Widget>[
Container(
child: Text("Lorem Ipsum is simply dummy text of the printing and typesetting industry."
" Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, "
"when an unknown printer took a galley of type and scrambled it to make a type specimen book."
"The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.",
style: TextStyle(color: Colors.white),
)
),
],
),
),
],
),
),
),
),
)
],
),
)));
}
}