Skip to content

Commit b881052

Browse files
committed
added renewal page
1 parent bc14f97 commit b881052

21 files changed

Lines changed: 1177 additions & 20 deletions

.metadata

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ migration:
1515
- platform: root
1616
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
1717
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
18-
- platform: android
19-
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
20-
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
21-
- platform: ios
18+
- platform: linux
2219
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
2320
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
2421

android/app/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ android {
2424
applicationId = "in.ac.nitc.library_nitc"
2525
// You can update the following values to match your application needs.
2626
// For more information, see: https://flutter.dev/to/review-gradle-config.
27-
minSdk = flutter.minSdkVersion
27+
minSdk = 21
2828
targetSdk = flutter.targetSdkVersion
2929
versionCode = flutter.versionCode
3030
versionName = flutter.versionName
@@ -42,3 +42,7 @@ android {
4242
flutter {
4343
source = "../.."
4444
}
45+
46+
//dependencies {
47+
// implementation "dev.shreyaspatil.EasyUpiPayment:EasyUpiPayment:3.0.3"
48+
//}

android/app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
xmlns:tools="http://schemas.android.com/tools">
23
<application
34
android:label="library_nitc"
45
android:name="${applicationName}"
5-
android:icon="@mipmap/ic_launcher">
6+
android:icon="@mipmap/ic_launcher"
7+
tools:replace="android:label">
68
<activity
79
android:name=".MainActivity"
810
android:exported="true"
@@ -37,6 +39,7 @@
3739
3840
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
3941
<queries>
42+
<package android:name="com.google.android.apps.nbu.paisa.user" />
4043
<intent>
4144
<action android:name="android.intent.action.PROCESS_TEXT"/>
4245
<data android:mimeType="text/plain"/>

ios/Runner/Info.plist

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>LSApplicationQueriesSchemes</key>
6+
<array>
7+
...
8+
<string>freecharge</string>
9+
<string>gpay</string>
10+
<string>in.fampay.app</string>
11+
<string>lotza</string>
12+
<string>mobikwik</string>
13+
<string>paytm</string>
14+
<string>phonepe</string>
15+
<string>upi</string>
16+
<string>upibillpay</string>
17+
<string>whatsapp</string>
18+
...
19+
</array>
520
<key>CFBundleDevelopmentRegion</key>
621
<string>$(DEVELOPMENT_LANGUAGE)</string>
722
<key>CFBundleDisplayName</key>

lib/bookPage.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class HoldingsList extends StatelessWidget {
156156
itemCount: 7, // TODO backend
157157
itemBuilder: (BuildContext context, int index) {
158158
return Container(
159-
color: Colors.deepPurple.shade50,
159+
color: Colors.purple.shade50,
160160
padding: EdgeInsets.all(12),
161161
height: 85,
162162
child: Column(
@@ -246,7 +246,7 @@ class _PlaceHoldScreenState extends State<PlaceHoldScreen> {
246246
),
247247
focusedBorder: OutlineInputBorder(
248248
borderSide: BorderSide(
249-
color: Colors.deepPurple, width: 1
249+
color: Colors.purple, width: 1
250250
)
251251
)
252252
),
@@ -266,7 +266,7 @@ class _PlaceHoldScreenState extends State<PlaceHoldScreen> {
266266
),
267267
focusedBorder: OutlineInputBorder(
268268
borderSide: BorderSide(
269-
color: Colors.deepPurple, width: 1
269+
color: Colors.purple, width: 1
270270
)
271271
)
272272
),

lib/homePage.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class _HomePageState extends State<HomePage> {
2929
Padding(
3030
padding: EdgeInsets.all(12.0),
3131
child: Card(
32-
color: Colors.deepPurple.shade50,
32+
color: Colors.purple.shade50,
3333
shape: RoundedRectangleBorder(
3434
borderRadius: BorderRadius.circular(16)
3535
),
@@ -166,7 +166,7 @@ class _StatWidgetState extends State<StatWidget>{
166166
Container(
167167
padding: EdgeInsets.all(16),
168168
decoration: BoxDecoration(
169-
color: Colors.deepPurple.shade50,
169+
color: Colors.purple.shade50,
170170
borderRadius: BorderRadius.circular(16)
171171
),
172172
child: Column(
@@ -179,8 +179,8 @@ class _StatWidgetState extends State<StatWidget>{
179179
child: LinearProgressIndicator(
180180
value: 0.6, // TODO : process value from backend
181181
minHeight: 8,
182-
backgroundColor: Colors.deepPurple.shade100,
183-
valueColor: AlwaysStoppedAnimation<Color>(Colors.deepPurple),
182+
backgroundColor: Colors.purple.shade100,
183+
valueColor: AlwaysStoppedAnimation<Color>(Colors.purple),
184184
),
185185
),
186186

@@ -202,7 +202,7 @@ class _StatWidgetState extends State<StatWidget>{
202202
// TODO : implement renew
203203
},
204204
child: Text("Renew",
205-
style: TextStyle(color: Colors.deepPurple),
205+
style: TextStyle(color: Colors.purple),
206206
),
207207
),
208208
)
@@ -362,7 +362,7 @@ class _BookJournalToggleState extends State<BookJournalToggle> {
362362
child: Container(
363363
padding: EdgeInsets.symmetric(vertical: 10, horizontal: 16),
364364
decoration: BoxDecoration(
365-
color: isBooksSelected ? Colors.deepPurple[100] : Colors.transparent,
365+
color: isBooksSelected ? Colors.purple[100] : Colors.transparent,
366366
borderRadius: BorderRadius.only(
367367
topLeft: Radius.circular(30),
368368
bottomLeft: Radius.circular(30),
@@ -391,7 +391,7 @@ class _BookJournalToggleState extends State<BookJournalToggle> {
391391
child: Container(
392392
padding: EdgeInsets.symmetric(vertical: 10, horizontal: 16),
393393
decoration: BoxDecoration(
394-
color: !isBooksSelected ? Colors.deepPurple[100] : Colors.transparent,
394+
color: !isBooksSelected ? Colors.purple[100] : Colors.transparent,
395395
borderRadius: BorderRadius.only(
396396
topRight: Radius.circular(30),
397397
bottomRight: Radius.circular(30),

lib/main.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'package:flutter/material.dart';
22
import 'package:library_nitc/homePage.dart';
33
import 'package:library_nitc/loadingScreen.dart';
4+
import 'package:library_nitc/profilePage.dart';
45
import 'package:persistent_bottom_nav_bar_v2/persistent_bottom_nav_bar_v2.dart';
56

67
import 'package:intl/intl_standalone.dart' if (dart.library.html) 'package:intl/intl_browser.dart';
@@ -42,7 +43,7 @@ class MyApp extends StatelessWidget {
4243
//
4344
// This works for code too, not just values: Most code changes can be
4445
// tested with just a hot reload.
45-
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
46+
colorScheme: ColorScheme.fromSeed(seedColor: Colors.purple),
4647
),
4748
home: LoadingScreen(),
4849
);
@@ -80,14 +81,14 @@ class _MainPageState extends State<MainPage> {
8081
item: ItemConfig(icon: Icon(Icons.info_outline), title: "ABOUT", activeForegroundColor: Colors.black)
8182
),
8283
PersistentTabConfig(
83-
screen: SafeArea(child: HomePage()),
84+
screen: SafeArea(child: ProfilePage()),
8485
item: ItemConfig(icon: Icon(Icons.account_circle_rounded), title: "PROFILE", activeForegroundColor: Colors.black)
8586
),
8687
],
8788
navBarBuilder: (navBarConfig) => Style7BottomNavBar(
8889
navBarConfig: navBarConfig,
8990
navBarDecoration: NavBarDecoration(
90-
color: Colors.deepPurple.shade50,
91+
color: Colors.purple.shade50,
9192

9293
),
9394
) ,

0 commit comments

Comments
 (0)