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
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (localPropertiesFile.exists()) {

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
throw new FileNotFoundException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
Expand All @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 28
compileSdkVersion 31

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand Down
8 changes: 4 additions & 4 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:name="${applicationName}"
android:label="flutter_facebook_responsive_ui"
android:icon="@mipmap/ic_launcher">
<activity
Expand Down Expand Up @@ -40,8 +40,8 @@
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</manifest>
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
buildscript {
ext.kotlin_version = '1.3.50'
ext.kotlin_version = '1.7.20'
repositories {
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:4.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
Binary file added lib/kotlin-reflect-sources.jar
Binary file not shown.
Binary file added lib/kotlin-reflect.jar
Binary file not shown.
Binary file added lib/kotlin-stdlib-jdk7-sources.jar
Binary file not shown.
Binary file added lib/kotlin-stdlib-jdk7.jar
Binary file not shown.
Binary file added lib/kotlin-stdlib-jdk8-sources.jar
Binary file not shown.
Binary file added lib/kotlin-stdlib-jdk8.jar
Binary file not shown.
Binary file added lib/kotlin-stdlib-sources.jar
Binary file not shown.
Binary file added lib/kotlin-stdlib.jar
Binary file not shown.
Binary file added lib/kotlin-test-sources.jar
Binary file not shown.
Binary file added lib/kotlin-test.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions lib/widgets/create_post_container.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class CreatePostContainer extends StatelessWidget {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
FlatButton.icon(
ElevatedButton.icon(
onPressed: () => print('Live'),
icon: const Icon(
Icons.videocam,
Expand All @@ -52,7 +52,7 @@ class CreatePostContainer extends StatelessWidget {
label: Text('Live'),
),
const VerticalDivider(width: 8.0),
FlatButton.icon(
ElevatedButton.icon(
onPressed: () => print('Photo'),
icon: const Icon(
Icons.photo_library,
Expand All @@ -61,7 +61,7 @@ class CreatePostContainer extends StatelessWidget {
label: Text('Photo'),
),
const VerticalDivider(width: 8.0),
FlatButton.icon(
ElevatedButton.icon(
onPressed: () => print('Room'),
icon: const Icon(
Icons.video_call,
Expand Down
18 changes: 9 additions & 9 deletions lib/widgets/rooms.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@ class Rooms extends StatelessWidget {
class _CreateRoomButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return OutlineButton(
return OutlinedButton(
onPressed: () => print('Create Room'),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(30.0),
),
color: Colors.white,
borderSide: BorderSide(
width: 3.0,
color: Colors.blueAccent[100],
style: OutlinedButton.styleFrom(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(30.0),
),
side: BorderSide(width: 3.0, color: Colors.blueAccent[100]),
backgroundColor: Colors.white,
//text color
textStyle: TextStyle(color: Palette.facebookBlue),
),
textColor: Palette.facebookBlue,
child: Row(
children: [
// ShaderMask(
Expand Down
Loading