Skip to content

Commit e6d8c77

Browse files
Merge pull request syncfusion#39 from dharanidharandharmasivam/master
Updated samples
2 parents f0d1439 + e3dd714 commit e6d8c77

File tree

161 files changed

+869
-516
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+869
-516
lines changed
Binary file not shown.
-115 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-185 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#Thu Jul 04 21:27:19 IST 2019
1+
#Tue Jul 09 18:11:55 IST 2019
22
gradle.version=4.10.2
Binary file not shown.

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ android {
3333

3434
defaultConfig {
3535
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
36-
applicationId "com.syncfusion.flutter.flutter_examples"
36+
applicationId "com.syncfusion.flutter_examples"
3737
minSdkVersion 16
3838
targetSdkVersion 28
3939
versionCode flutterVersionCode.toInteger()

android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.syncfusion.flutter.flutter_examples">
2+
package="com.syncfusion.flutter_examples">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.syncfusion.flutter.flutter_examples">
2+
package="com.syncfusion.flutter_examples">
33

44
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
55
calls FlutterMain.startInitialization(this); in its onCreate method.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.syncfusion.flutter_examples;
2+
3+
import android.os.Bundle;
4+
import io.flutter.app.FlutterActivity;
5+
import io.flutter.plugins.GeneratedPluginRegistrant;
6+
7+
public class MainActivity extends FlutterActivity {
8+
@Override
9+
protected void onCreate(Bundle savedInstanceState) {
10+
super.onCreate(savedInstanceState);
11+
GeneratedPluginRegistrant.registerWith(this);
12+
}
13+
}

android/app/src/profile/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.syncfusion.flutter.flutter_examples">
2+
package="com.syncfusion.flutter_examples">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

android/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
org.gradle.jvmargs=-Xmx1536M
2+

android/local.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
sdk.dir=C:\\Users\\DharanidharanDharmas\\AppData\\Local\\Android\\sdk
2-
flutter.sdk=D:\\Applications\\Softwares backup\\flutter\\flutter_windows_v1.2.1-stable\\flutter
1+
sdk.dir=/Users/ashwink/Library/Android/sdk
2+
flutter.sdk=/Users/ashwink/Documents/FlutterSDK/flutter
33
flutter.buildMode=debug
44
flutter.versionName=1.0.0
55
flutter.versionCode=1

images/image_nav_banner_darktheme.png

9.19 KB
Loading

images/img_xamarin_ui.png

2.11 KB
Loading

images/open_arrow.png

382 Bytes
Loading

ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>CFBundleDevelopmentRegion</key>
6-
<string>en</string>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
77
<key>CFBundleExecutable</key>
88
<string>App</string>
99
<key>CFBundleIdentifier</key>

ios/Flutter/Generated.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This is a generated file; do not edit or check into version control.
22
FLUTTER_ROOT=/Users/ashwink/Documents/FlutterSDK/flutter
3-
FLUTTER_APPLICATION_PATH=/Users/ashwink/Downloads/flutter_examples
3+
FLUTTER_APPLICATION_PATH=/Users/ashwink/Desktop/july-9/flutter_examples
44
FLUTTER_TARGET=lib/main.dart
55
FLUTTER_BUILD_DIR=build
66
SYMROOT=${SOURCE_ROOT}/../build/ios

ios/Podfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ target 'Runner' do
4141
# Flutter Pods
4242
generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
4343
if generated_xcode_build_settings.empty?
44-
puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first."
44+
puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter pub get is executed first."
4545
end
4646
generated_xcode_build_settings.map { |p|
4747
if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
@@ -60,6 +60,9 @@ target 'Runner' do
6060
}
6161
end
6262

63+
# Prevent Cocoapods from embedding a second Flutter framework and causing an error with the new Xcode build system.
64+
install! 'cocoapods', :disable_input_output_paths => true
65+
6366
post_install do |installer|
6467
installer.pods_project.targets.each do |target|
6568
target.build_configurations.each do |config|

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
97C146E61CF9000F007C117D /* Project object */ = {
153153
isa = PBXProject;
154154
attributes = {
155-
LastUpgradeCheck = 0910;
155+
LastUpgradeCheck = 1020;
156156
ORGANIZATIONNAME = "The Chromium Authors";
157157
TargetAttributes = {
158158
97C146ED1CF9000F007C117D = {
@@ -162,7 +162,7 @@
162162
};
163163
buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
164164
compatibilityVersion = "Xcode 3.2";
165-
developmentRegion = English;
165+
developmentRegion = en;
166166
hasScannedForEncodings = 0;
167167
knownRegions = (
168168
en,
@@ -271,12 +271,14 @@
271271
CLANG_WARN_BOOL_CONVERSION = YES;
272272
CLANG_WARN_COMMA = YES;
273273
CLANG_WARN_CONSTANT_CONVERSION = YES;
274+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
274275
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
275276
CLANG_WARN_EMPTY_BODY = YES;
276277
CLANG_WARN_ENUM_CONVERSION = YES;
277278
CLANG_WARN_INFINITE_RECURSION = YES;
278279
CLANG_WARN_INT_CONVERSION = YES;
279280
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
281+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
280282
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
281283
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
282284
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -323,7 +325,7 @@
323325
"$(inherited)",
324326
"$(PROJECT_DIR)/Flutter",
325327
);
326-
PRODUCT_BUNDLE_IDENTIFIER = com.syncfusion.flutter.flutterExamples;
328+
PRODUCT_BUNDLE_IDENTIFIER = com.syncfusion.flutterExamples;
327329
PRODUCT_NAME = "$(TARGET_NAME)";
328330
VERSIONING_SYSTEM = "apple-generic";
329331
};
@@ -343,12 +345,14 @@
343345
CLANG_WARN_BOOL_CONVERSION = YES;
344346
CLANG_WARN_COMMA = YES;
345347
CLANG_WARN_CONSTANT_CONVERSION = YES;
348+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
346349
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
347350
CLANG_WARN_EMPTY_BODY = YES;
348351
CLANG_WARN_ENUM_CONVERSION = YES;
349352
CLANG_WARN_INFINITE_RECURSION = YES;
350353
CLANG_WARN_INT_CONVERSION = YES;
351354
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
355+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
352356
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
353357
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
354358
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -397,12 +401,14 @@
397401
CLANG_WARN_BOOL_CONVERSION = YES;
398402
CLANG_WARN_COMMA = YES;
399403
CLANG_WARN_CONSTANT_CONVERSION = YES;
404+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
400405
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
401406
CLANG_WARN_EMPTY_BODY = YES;
402407
CLANG_WARN_ENUM_CONVERSION = YES;
403408
CLANG_WARN_INFINITE_RECURSION = YES;
404409
CLANG_WARN_INT_CONVERSION = YES;
405410
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
411+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
406412
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
407413
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
408414
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -448,7 +454,7 @@
448454
"$(inherited)",
449455
"$(PROJECT_DIR)/Flutter",
450456
);
451-
PRODUCT_BUNDLE_IDENTIFIER = com.syncfusion.flutter.flutterExamples;
457+
PRODUCT_BUNDLE_IDENTIFIER = com.syncfusion.flutterExamples;
452458
PRODUCT_NAME = "$(TARGET_NAME)";
453459
VERSIONING_SYSTEM = "apple-generic";
454460
};
@@ -471,7 +477,7 @@
471477
"$(inherited)",
472478
"$(PROJECT_DIR)/Flutter",
473479
);
474-
PRODUCT_BUNDLE_IDENTIFIER = com.syncfusion.flutter.flutterExamples;
480+
PRODUCT_BUNDLE_IDENTIFIER = com.syncfusion.flutterExamples;
475481
PRODUCT_NAME = "$(TARGET_NAME)";
476482
VERSIONING_SYSTEM = "apple-generic";
477483
};

ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0910"
3+
LastUpgradeVersion = "1020"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,6 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
3029
shouldUseLaunchSchemeArgsEnv = "YES">
3130
<Testables>
3231
</Testables>
@@ -46,7 +45,6 @@
4645
buildConfiguration = "Debug"
4746
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4847
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
49-
language = ""
5048
launchStyle = "0"
5149
useCustomWorkingDirectory = "NO"
5250
ignoresPersistentStateOnLaunch = "NO"

ios/Runner/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>CFBundleDevelopmentRegion</key>
6-
<string>en</string>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
77
<key>CFBundleExecutable</key>
88
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>

lib/main.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
import 'package:flutter/material.dart';
22
import 'package:flutter_examples/sample_browser.dart';
3+
import 'package:syncfusion_flutter_core/core.dart';
34

4-
main() => runApp(SampleBrowser());
5+
void main() {
6+
SyncfusionLicense.registerLicense(null);
7+
return runApp(SampleBrowser());
8+
}

lib/model/model.dart

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,15 +1387,16 @@ class SampleListModel extends Model {
13871387
drawerTextIconColor = Colors.white;
13881388
drawerIconColor = Colors.white;
13891389
slidingPanelColor = Color.fromRGBO(32, 33, 37, 1);
1390-
drawerBackgroundColor = Color.fromRGBO(32, 33, 37, 1);
1391-
bottomSheetBackgroundColor = Color.fromRGBO(64, 64, 64, 1);
1390+
drawerBackgroundColor = Colors.black;
1391+
bottomSheetBackgroundColor = Color.fromRGBO(34, 39, 51, 1);
13921392
backgroundColor = paletteColor ?? Color.fromRGBO(0, 116, 228, 1);
13931393
listIconColor = paletteColor ?? Colors.white;
13941394
searchBoxColor = Colors.white;
1395-
listDescriptionTextColor = Colors.white;
1396-
textColor = Colors.white;
1395+
listDescriptionTextColor = Color.fromRGBO(242,242,242,1);
1396+
textColor = Color.fromRGBO(242,242,242,1);
13971397
theme = Brightness.dark;
1398-
cardThemeColor = Colors.black.withOpacity(0.7);
1398+
// cardThemeColor = Colors.black.withOpacity(0.7);
1399+
cardThemeColor = Color.fromRGBO(23,27,36,1);
13991400
break;
14001401
}
14011402
default:

0 commit comments

Comments
 (0)