Skip to content

Instantly share code, notes, and snippets.

@horgag1
Created January 9, 2020 19:27
Show Gist options
  • Save horgag1/241a94e993867250c00577e0bc0e55ce to your computer and use it in GitHub Desktop.
Save horgag1/241a94e993867250c00577e0bc0e55ce to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
import 'goal_posts.dart';
import 'package:sports_app/logo.dart';
class Selections extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: SingleChildScrollView(
child: Column(
children:[
Container(
color: Color(0xff3B824F),
height: 50,
child: Row(
children:[
Icon(Icons.ac_unit),
]
),
),
Container(
color:Color(0xff479A5E) ,
padding: EdgeInsets.all(10),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children:[
SizedBox(height: 20,),
GoalPosts(),
Column(
children: [Container(
child: Center(child: Text('1',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:[
Column(
children: [Container(
child: Center(child: Text('2',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('3',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('4',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),),
]
),
],
),
SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:[
Column(
children: [Container(
child: Center(child: Text('5',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('6',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('7',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
],
),
SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children:[
Column(
children: [Container(
child: Center(child: Text('8',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
SizedBox(width: 20,),
Column(
children: [Container(
child: Center(child: Text('9',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
],
),
SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:[
Column(
children: [Container(
child: Center(child: Text('10',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('11',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('12',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
],
),
SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:[
Column(
children: [Container(
child: Center(child: Text('13',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('14',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('15',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.red,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
],
),
SizedBox(height: 30,),
Container(
width: 160,
height: 3,
color: Colors.white54,
),
SizedBox(height:30,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:[
Column(
children: [Container(
child: Center(child: Text('15',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('14',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('13',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
],
),
SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:[
Column(
children: [Container(
child: Center(child: Text('12',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('11',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('10',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
],
),
SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children:[
Column(
children: [Container(
child: Center(child: Text('9',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
SizedBox(width: 20,),
Column(
children: [Container(
child: Center(child: Text('8',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
],
),
SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:[
Column(
children: [Container(
child: Center(child: Text('7',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('6',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('5',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
],
),
SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:[
Column(
children: [Container(
child: Center(child: Text('4',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('3',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),Column(
children: [Container(
child: Center(child: Text('2',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
SizedBox(height: 10,),
Text('Louisa Moore',style: TextStyle(color: Colors.white,fontSize: 17),)
]
),
],
),
SizedBox(height: 20,),
Container(
child: Center(child: Text('1',style:TextStyle(color: Colors.white,fontSize: 16),)),
width: 40.0,
height: 40.0,
decoration: new BoxDecoration(
color: Colors.purple,
borderRadius: new BorderRadius.all(new Radius.circular(50.0)),
border: new Border.all(
color: Colors.white,
width: 2.0,
),
),
),
GoalPosts(),
],
),
),
Container(
color: Color(0xff3B824F),
height: 50,
child: Padding(
padding: const EdgeInsets.all(10.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:[
Logo(url: 'https://firebasestorage.googleapis.com/v0/b/flutter-610ff.appspot.com/o/kerryLogo?alt=media&token=2c352cd8-f294-4df9-a86f-0ecd07162b46',),
Text('Kerry',style:TextStyle(color: Colors.white,fontSize: 17) ,),
]
),
),
),
SizedBox(height: 20),
Card(
elevation: 5,
child: Column(
children: [
Padding(
padding: const EdgeInsets.all(10),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:[
Logo(url:'https://firebasestorage.googleapis.com/v0/b/flutter-610ff.appspot.com/o/kerryLogo?alt=media&token=2c352cd8-f294-4df9-a86f-0ecd07162b46'),
Text('SUBSTITUTES'),
Logo(url:'https://firebasestorage.googleapis.com/v0/b/flutter-610ff.appspot.com/o/kerryLogo?alt=media&token=2c352cd8-f294-4df9-a86f-0ecd07162b46'),
],
),
),
Padding(
padding: const EdgeInsets.all(10.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Wrap(
direction: Axis.vertical,
children: [Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),]),
Wrap(
direction: Axis.vertical,
children: [Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),SizedBox(height: 10,),Text('16 S Murphy'),]),
]
),
),
],
),
),
SizedBox(height: 100,),
]
),
)
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment