-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprotips.dart
More file actions
43 lines (40 loc) · 2.04 KB
/
Copy pathprotips.dart
File metadata and controls
43 lines (40 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import 'package:flutter/material.dart';
class ProTips extends StatelessWidget
{
List <String> tips = [
'Chemistry is volatile, keep revising it' ,
'Not brought is equivalent to not done',
'The key to learning something well is repetition; the more times you go over the material the better chance you have of storing it permanently.',
'Visual learners study best when the material is graphic',
'Do your homework whether you have to turn it in or not. Homework helps build the concept better',
'The most important practice is note taking, lectures can only be restored in the brain if we write it down once and read that writing to recreate the lecture in our mind.',
'For chemistry, read whatever is in bold face first and then go back and read all the text, highlighting the most important information. To memorize chemical reactions, use index cards. you can take them wherever go and look at them whenever youu have free time',
'When reading science books, make sure you read the examples. If you don\'t read the examples you\'ll be lost during class.',
'Working out or playing sports relieves stress. You should have incentives after your homework is done: go out, talk with a friend, read for pleasure, have fun.'
];
@override
Widget build(BuildContext context) {
// TODO: implement build
return Scaffold(
appBar: AppBar(
title: (Text('Pro - Tips')) ,
),
body: Container(
child : ListView(
children : tips.map((element)=>
Column(
children : <Widget>[
Container(
padding: EdgeInsets.all(10.0),
color: Colors.white,
child :ListTile(
//leading: Container(child : Text('$element[1]') , color: Colors.white,),
title: Text('$element' , style : TextStyle(color: Colors.black , fontSize: 16)),
//trailing: Text('$element[1][1]' , style : TextStyle(color : Colors.black , fontSize : 8)),
)),
Text(' ')]
)).toList(),
),
));
}
}