Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -562,13 +562,12 @@ class CarryOutScreen extends StatelessWidget {

@override
Widget build(BuildContext context) {
return Container(
child: Scaffold(
return Scaffold(
appBar: AppBar(
elevation: 0.0,
backgroundColor: Colors.transparent,
),
body: Padding(
body: SingleChildScrollView(
padding: const EdgeInsets.fromLTRB(30.0, 0.0, 30.0, 0.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
Expand Down Expand Up @@ -673,8 +672,7 @@ class CarryOutScreen extends StatelessWidget {
],
),
),
),
);
);
}
}

Expand Down Expand Up @@ -758,10 +756,12 @@ class BookShelf extends StatelessWidget {

@override
Widget build(BuildContext context) {
return Column(
return Expanded(
child:Column(
children: <Widget>[
InkWell(
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Container(
width: 110.0,
Expand Down Expand Up @@ -791,6 +791,7 @@ class BookShelf extends StatelessWidget {
),
),
],
)
);
}
}
Expand Down
9 changes: 5 additions & 4 deletions lib/tab_1.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ class TabOneScreen extends StatelessWidget {
Padding(
padding: const EdgeInsets.only(top: 20.0, bottom: 10.0),
child: Row(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
InkWell(
Expanded(
child: Container(
width: 160.0,
height: 240.0,
Expand Down Expand Up @@ -254,11 +255,11 @@ class TabOneScreen extends StatelessWidget {
children: <Widget>[
Padding(
padding:
const EdgeInsets.only(right: 10.0),
const EdgeInsets.only(right: 5.0),
child: InkWell(
child: Container(
padding: const EdgeInsets.symmetric(
horizontal: 10.0,
horizontal: 5.0,
vertical: 6.0),
decoration: BoxDecoration(
border: Border.all(
Expand All @@ -284,7 +285,7 @@ class TabOneScreen extends StatelessWidget {
child: InkWell(
child: Container(
padding: const EdgeInsets.symmetric(
horizontal: 10.0,
horizontal: 8.0,
vertical: 6.0),
decoration: BoxDecoration(
border: Border.all(
Expand Down
13 changes: 6 additions & 7 deletions lib/tab_2.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ class MayLikeBooks extends StatelessWidget {

@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.symmetric(vertical: 5.0, horizontal: 20.0),
child: Container(
return Container(
height: 140.0,
decoration: BoxDecoration(
color: Colors.white,
Expand Down Expand Up @@ -173,8 +171,10 @@ class MayLikeBooks extends StatelessWidget {
width: 10.0,
),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.end,
mainAxisSize: MainAxisSize.min,
// mainAxisAlignment: MainAxisAlignment.center,
// crossAxisAlignment: CrossAxisAlignment.start,
// mainAxisAlignment: MainAxisAlignment.end,
children: <Widget>[
Text(
bookName,
Expand Down Expand Up @@ -234,8 +234,7 @@ class MayLikeBooks extends StatelessWidget {
],
),
),
),
);
);
}
}

Expand Down