Skip to content

Commit

Permalink
Deleted ScholarshipDetails, Replaced with ScholarshipDetailsView
Browse files Browse the repository at this point in the history
  • Loading branch information
palmer-matthew committed Sep 3, 2020
1 parent 7c2f2d4 commit 9c5afd9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 149 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'package:flutter/material.dart';
import 'package:fst_app_flutter/models/from_postgres/scholarship/scholarship.dart';
import 'package:fst_app_flutter/screens/scholarship_screen/scholarship_details.dart';
import 'package:fst_app_flutter/screens/scholarship_screen/scholarship_detailsview.dart';

///Widget used by [ScholarshipMobile] to display the elements of the lists from [ScholarshipList]
Expand Down Expand Up @@ -33,7 +32,7 @@ class ScholarCard extends StatelessWidget {
/// Builds the transition for [ScholarshipDetails], Transition: Slide In from the left
PageRouteBuilder _buildTransition(){
return PageRouteBuilder(
pageBuilder: (context, animation, secondaryAnimation) => ScholarshipDetailsView(current: scholarship,),//ScholarshipDetails(current: scholarship),
pageBuilder: (context, animation, secondaryAnimation) => ScholarshipDetailsView(current: scholarship,),
transitionDuration: Duration(milliseconds: 500,),
transitionsBuilder: (context, animation, secondaryAnimation, child){
animation = CurvedAnimation(
Expand Down
147 changes: 0 additions & 147 deletions lib/screens/scholarship_screen/scholarship_details.dart

This file was deleted.

0 comments on commit 9c5afd9

Please sign in to comment.