Skip to content

Commit

Permalink
[App] rename app name and MaterialApp name
Browse files Browse the repository at this point in the history
  • Loading branch information
tastelessjolt committed Dec 13, 2018
1 parent cf65a91 commit 7d8fcef
Show file tree
Hide file tree
Showing 17 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="instiapp"
android:label="InstiApp"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
Expand Down
2 changes: 1 addition & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>instiapp</string>
<string>InstiApp</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
14 changes: 7 additions & 7 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:instiapp/src/api/model/user.dart';
import 'package:instiapp/src/bloc_provider.dart';
import 'package:instiapp/src/blocs/ia_bloc.dart';
import 'package:InstiApp/src/api/model/user.dart';
import 'package:InstiApp/src/bloc_provider.dart';
import 'package:InstiApp/src/blocs/ia_bloc.dart';

import 'package:instiapp/src/routes/messpage.dart';
import 'package:instiapp/src/routes/loginpage.dart';
import 'package:instiapp/src/routes/placementblogpage.dart';
import 'package:InstiApp/src/routes/messpage.dart';
import 'package:InstiApp/src/routes/loginpage.dart';
import 'package:InstiApp/src/routes/placementblogpage.dart';

void main() => runApp(MyApp());

Expand All @@ -32,7 +32,7 @@ class MyAppState extends State<MyApp> {
return BlocProvider(
_bloc,
child: MaterialApp(
title: 'Flutter Demo',
title: 'InstiApp',
theme: ThemeData(
fontFamily: "SourceSansPro",
primarySwatch: Colors.deepPurple,
Expand Down
8 changes: 4 additions & 4 deletions lib/src/api/apiclient.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import 'package:http/io_client.dart';
import 'package:instiapp/src/api/model/mess.dart';
import 'package:instiapp/src/api/model/placementblogpost.dart';
import 'package:instiapp/src/api/model/user.dart';
import 'package:InstiApp/src/api/model/mess.dart';
import 'package:InstiApp/src/api/model/placementblogpost.dart';
import 'package:InstiApp/src/api/model/user.dart';
import 'package:jaguar_resty/jaguar_resty.dart';
import 'package:jaguar_resty/jaguar_resty.dart' as resty;
import 'package:jaguar_retrofit/jaguar_retrofit.dart';
import 'package:jaguar_serializer/jaguar_serializer.dart';
import 'package:instiapp/src/api/model/serializers.dart';
import 'package:InstiApp/src/api/model/serializers.dart';

part 'apiclient.jretro.dart';

Expand Down
10 changes: 5 additions & 5 deletions lib/src/api/model/serializers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ library serializers;

import 'package:jaguar_serializer/jaguar_serializer.dart';

import 'package:instiapp/src/api/model/user.dart';
import 'package:instiapp/src/api/model/body.dart';
import 'package:instiapp/src/api/model/event.dart';
import 'package:instiapp/src/api/model/mess.dart';
import 'package:instiapp/src/api/model/placementblogpost.dart';
import 'package:InstiApp/src/api/model/user.dart';
import 'package:InstiApp/src/api/model/body.dart';
import 'package:InstiApp/src/api/model/event.dart';
import 'package:InstiApp/src/api/model/mess.dart';
import 'package:InstiApp/src/api/model/placementblogpost.dart';

JsonRepo standardSerializers = JsonRepo(serializers: [
HostelSerializer(),
Expand Down
2 changes: 1 addition & 1 deletion lib/src/bloc_provider.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:instiapp/src/blocs/ia_bloc.dart';
import 'package:InstiApp/src/blocs/ia_bloc.dart';

class BlocProvider extends InheritedWidget {
final InstiAppBloc bloc;
Expand Down
14 changes: 7 additions & 7 deletions lib/src/blocs/ia_bloc.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import 'package:flutter/material.dart';
import 'package:instiapp/src/api/apiclient.dart';
import 'package:instiapp/src/api/model/mess.dart';
import 'package:instiapp/src/api/model/placementblogpost.dart';
import 'package:instiapp/src/api/model/serializers.dart';
import 'package:instiapp/src/api/model/user.dart';
import 'package:instiapp/src/blocs/placement_bloc.dart';
import 'package:instiapp/src/drawer.dart';
import 'package:InstiApp/src/api/apiclient.dart';
import 'package:InstiApp/src/api/model/mess.dart';
import 'package:InstiApp/src/api/model/placementblogpost.dart';
import 'package:InstiApp/src/api/model/serializers.dart';
import 'package:InstiApp/src/api/model/user.dart';
import 'package:InstiApp/src/blocs/placement_bloc.dart';
import 'package:InstiApp/src/drawer.dart';
import 'dart:collection';
import 'package:rxdart/rxdart.dart';
import 'package:http/io_client.dart';
Expand Down
4 changes: 2 additions & 2 deletions lib/src/blocs/placement_bloc.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:collection';

import 'package:instiapp/src/api/model/placementblogpost.dart';
import 'package:instiapp/src/blocs/ia_bloc.dart';
import 'package:InstiApp/src/api/model/placementblogpost.dart';
import 'package:InstiApp/src/blocs/ia_bloc.dart';
import 'package:rxdart/rxdart.dart';
import 'package:markdown/markdown.dart' as markdown;
import 'dart:math';
Expand Down
4 changes: 2 additions & 2 deletions lib/src/drawer.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:instiapp/src/api/model/user.dart';
import 'package:instiapp/src/bloc_provider.dart';
import 'package:InstiApp/src/api/model/user.dart';
import 'package:InstiApp/src/bloc_provider.dart';
import 'package:outline_material_icons/outline_material_icons.dart';
import 'package:rxdart/rxdart.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/src/json_parsing.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:convert';

import 'package:instiapp/src/api/model/user.dart';
import 'package:InstiApp/src/api/model/user.dart';

import 'api/model/mess.dart';
import 'api/model/serializers.dart';
Expand Down
10 changes: 5 additions & 5 deletions lib/src/routes/loginpage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import 'dart:io';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';
import 'package:instiapp/src/api/apiclient.dart';
import 'package:instiapp/src/api/model/serializers.dart';
import 'package:instiapp/src/api/model/user.dart';
import 'package:instiapp/src/bloc_provider.dart';
import 'package:instiapp/src/blocs/ia_bloc.dart';
import 'package:InstiApp/src/api/apiclient.dart';
import 'package:InstiApp/src/api/model/serializers.dart';
import 'package:InstiApp/src/api/model/user.dart';
import 'package:InstiApp/src/bloc_provider.dart';
import 'package:InstiApp/src/blocs/ia_bloc.dart';

import 'package:shared_preferences/shared_preferences.dart';

Expand Down
8 changes: 4 additions & 4 deletions lib/src/routes/messpage.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:instiapp/src/bloc_provider.dart';
import 'package:instiapp/src/blocs/ia_bloc.dart';
import 'package:instiapp/src/drawer.dart';
import 'package:InstiApp/src/bloc_provider.dart';
import 'package:InstiApp/src/blocs/ia_bloc.dart';
import 'package:InstiApp/src/drawer.dart';
import 'package:outline_material_icons/outline_material_icons.dart';

import 'package:url_launcher/url_launcher.dart';

import 'package:instiapp/src/api/model/mess.dart';
import 'package:InstiApp/src/api/model/mess.dart';

import 'dart:collection';

Expand Down
12 changes: 6 additions & 6 deletions lib/src/routes/placementblogpage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import 'dart:collection';

import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:instiapp/src/api/model/placementblogpost.dart';
import 'package:instiapp/src/api/model/user.dart';
import 'package:instiapp/src/bloc_provider.dart';
import 'package:instiapp/src/blocs/placement_bloc.dart';
import 'package:instiapp/src/drawer.dart';
import 'package:instiapp/src/blocs/ia_bloc.dart';
import 'package:InstiApp/src/api/model/placementblogpost.dart';
import 'package:InstiApp/src/api/model/user.dart';
import 'package:InstiApp/src/bloc_provider.dart';
import 'package:InstiApp/src/blocs/placement_bloc.dart';
import 'package:InstiApp/src/drawer.dart';
import 'package:InstiApp/src/blocs/ia_bloc.dart';
import 'package:outline_material_icons/outline_material_icons.dart';
import 'package:flutter_html/flutter_html.dart';
import 'dart:core';
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: instiapp
description: A new Flutter project.
name: InstiApp
description: Flutter App for Indian Institute of Technology, Bombay

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# Read more about versioning at semver.org.
version: 1.0.0+1
version: 0.4.0+1

environment:
sdk: ">=2.0.0-dev.68.0 <3.0.0"
Expand Down
6 changes: 3 additions & 3 deletions test/mess_test.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:instiapp/src/api/apiclient.dart';
import 'package:instiapp/src/api/model/mess.dart';
import 'package:instiapp/src/json_parsing.dart';
import 'package:InstiApp/src/api/apiclient.dart';
import 'package:InstiApp/src/api/model/mess.dart';
import 'package:InstiApp/src/json_parsing.dart';
import 'package:jaguar_resty/jaguar_resty.dart';
import 'package:test/test.dart';
import 'package:http/io_client.dart';
Expand Down
2 changes: 1 addition & 1 deletion test/session_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:instiapp/src/json_parsing.dart';
import 'package:InstiApp/src/json_parsing.dart';
import 'package:test/test.dart';

main() {
Expand Down
2 changes: 1 addition & 1 deletion test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

import 'package:instiapp/main.dart';
import 'package:InstiApp/main.dart';

void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
Expand Down

0 comments on commit 7d8fcef

Please sign in to comment.