Skip to content

Commit

Permalink
making requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sakshi2707 authored Mar 11, 2021
1 parent 3a50783 commit cc15f94
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions lib/views/profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:retro_shopping/helpers/constants.dart';
import 'package:retro_shopping/widgets/payment/order_item.dart';
import 'package:retro_shopping/widgets/retro_button.dart';
import 'package:retro_shopping/views/settings.dart';

class ProfilePage extends StatelessWidget {
@override
Expand Down Expand Up @@ -193,24 +194,7 @@ class OrdersSection extends StatelessWidget {
);
}
}
class Settings extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Settings"),
),
body: Center(
child: ElevatedButton(
onPressed: () {
Navigator.pop(context);
},
child: Text('Go back!'),
),
),
);
}
}

class TopSection extends StatelessWidget {
const TopSection({
Key key,
Expand Down

0 comments on commit cc15f94

Please sign in to comment.