Commit 1e16daa3 authored by NguyenTienManh's avatar NguyenTienManh

add README

parents
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/
# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/
# Symbolication related
app.*.symbols
# Obfuscation related
app.*.map.json
# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.
version:
revision: b8f7f1f9869bb2d116aa6a70dbeac61000b52849
channel: stable
project_type: app
# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: b8f7f1f9869bb2d116aa6a70dbeac61000b52849
base_revision: b8f7f1f9869bb2d116aa6a70dbeac61000b52849
- platform: android
create_revision: b8f7f1f9869bb2d116aa6a70dbeac61000b52849
base_revision: b8f7f1f9869bb2d116aa6a70dbeac61000b52849
- platform: ios
create_revision: b8f7f1f9869bb2d116aa6a70dbeac61000b52849
base_revision: b8f7f1f9869bb2d116aa6a70dbeac61000b52849
# User provided section
# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
# ongbut_ntmanh
A new Flutter project.
## Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev/), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml
linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java
# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
key.properties
**/*.keystore
**/*.jks
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
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.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 33
ndkVersion flutter.ndkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.ongbut_ntmanh"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
targetSdkVersion 33
minSdkVersion 23
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}
flutter {
source '../..'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.ongbut_ntmanh">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.ongbut_ntmanh">
<application
android:label="ongbut_ntmanh"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</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>
</manifest>
package com.example.ongbut_ntmanh
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="?android:colorBackground" />
<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:color/white" />
<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.ongbut_ntmanh">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
buildscript {
ext.kotlin_version = '1.6.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
include ':app'
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()
assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
flutter pub run build_runner build
**/dgph
*.mode1v3
*.mode2v3
*.moved-aside
*.pbxuser
*.perspectivev3
**/*sync/
.sconsign.dblite
.tags*
**/.vagrant/
**/DerivedData/
Icon?
**/Pods/
**/.symlinks/
profile
xcuserdata
**/.generated/
Flutter/App.framework
Flutter/Flutter.framework
Flutter/Flutter.podspec
Flutter/Generated.xcconfig
Flutter/ephemeral/
Flutter/app.flx
Flutter/app.zip
Flutter/flutter_assets/
Flutter/flutter_export_environment.sh
ServiceDefinitions.json
Runner/GeneratedPluginRegistrant.*
# Exceptions to above rules.
!default.mode1v3
!default.mode2v3
!default.pbxuser
!default.perspectivev3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>App</string>
<key>CFBundleIdentifier</key>
<string>io.flutter.flutter.app</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>App</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
</dict>
</plist>
#include "Generated.xcconfig"
#include "Generated.xcconfig"
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreviewsEnabled</key>
<false/>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Profile"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:Runner.xcodeproj">
</FileRef>
</Workspace>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreviewsEnabled</key>
<false/>
</dict>
</plist>
import UIKit
import Flutter
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}
{
"images" : [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@2x.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@1x.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@2x.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@3x.png",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-App-40x40@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-App-40x40@3x.png",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-App-60x60@2x.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-App-60x60@3x.png",
"scale" : "3x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-App-20x20@1x.png",
"scale" : "1x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-App-20x20@2x.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-App-29x29@1x.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-App-29x29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-App-40x40@1x.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-App-40x40@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-App-76x76@1x.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-App-76x76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "Icon-App-83.5x83.5@2x.png",
"scale" : "2x"
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
"filename" : "Icon-App-1024x1024@1x.png",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
{
"images" : [
{
"idiom" : "universal",
"filename" : "LaunchImage.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "LaunchImage@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "LaunchImage@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
# Launch Screen Assets
You can customize the launch screen with your own desired assets by replacing the image files in this directory.
You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Ydg-fD-yQy"/>
<viewControllerLayoutGuide type="bottom" id="xbc-2k-c8Z"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4">
</imageView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="1a2-6s-vTC"/>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="4X2-HB-R7a"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
<resources>
<image name="LaunchImage" width="168" height="185"/>
</resources>
</document>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
</dependencies>
<scenes>
<!--Flutter View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="FlutterViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
</scene>
</scenes>
</document>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Ongbut Ntmanh</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>ongbut_ntmanh</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
</dict>
</plist>
#import "GeneratedPluginRegistrant.h"
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:ongbut_ntmanh/app/module/counter/bloc/counter_bloc.dart';
import 'package:ongbut_ntmanh/app/ui/navigationbottom/but_about_page.dart';
import 'package:ongbut_ntmanh/app/ui/navigationbottom/camera_page.dart';
import 'package:ongbut_ntmanh/app/ui/navigationbottom/home_page.dart';
import 'package:ongbut_ntmanh/res/images/images.dart';
import 'app/ui/navigationbottom/account_page.dart';
import 'app/ui/navigationbottom/but_answer_page.dart';
import 'const/colors.dart';
class Application extends StatefulWidget {
const Application({Key? key}) : super(key: key);
@override
State<Application> createState() => _ApplicationState();
}
int _page = 0;
class _ApplicationState extends State<Application> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
toolbarHeight: 0,
backgroundColor: AppColors.primary,
),
body:
_counterWidget(context),
bottomNavigationBar: appBar(),
);
}
BottomAppBar appBar(){
return BottomAppBar(
shape: const CircularNotchedRectangle(),
color: Theme.of(context).cardColor.withAlpha(255),
child: BottomNavigationBar(
onTap: (int index){
_onBottomNavigationBarItem(index);
BlocProvider.of<CounterBloc>(context).add(
NavigationBottomEvent(indexNavigationBottom: index));
},
currentIndex: _page,
elevation: 0,
unselectedItemColor: AppColors.grey,
selectedItemColor: AppColors.primary,
items: const [
BottomNavigationBarItem(
icon: ImageIcon(AssetImage(Images.home)),
label: 'Trang Chu',
),
BottomNavigationBarItem(
icon: ImageIcon(AssetImage(Images.classes)),
label: 'But Co',
),
BottomNavigationBarItem(
icon: ImageIcon(AssetImage(Images.camera_ai)),
label: 'Camera',
),
BottomNavigationBarItem(
icon: ImageIcon(AssetImage(Images.social)),
label:'But Dap',
),
BottomNavigationBarItem(
icon: ImageIcon(AssetImage(Images.user)),
label:'Ca Nhan',
),
],
),
);
}
void _onBottomNavigationBarItem(int index){
setState(() {
_page = index;
});
}
}
Widget _counterWidget(BuildContext context) {
return
BlocBuilder<CounterBloc, CounterState>(
builder: (context, state) {
if(state is CounterHomePageState){
return HomePage();
}
if(state is CounterButAboutPageState){
return const ButAboutPage();
}
if(state is CounterCameraPageState){
return const CameraPage();
}
if(state is CounterButAnswerPageState){
return const ButAnswerPage();
}
if(state is CounterAccountPageState){
return const AccountPage();
}
return HomePage();
}
);
}
import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter/cupertino.dart';
import '../model/comment_model.dart';
import '../request/comment_request.dart';
part 'comment_event.dart';
part 'comment_state.dart';
class CommentBloc extends Bloc<CommentEvent, CommentState> {
CommentBloc() : super(const CommentInitial()) {
on<RequestComment>((event, emit) async {
await _requestComment(event, emit);
});
}
Future<void> _requestComment(RequestComment event, Emitter<CommentState> emit) async {
RemoteComment remoteComment = RemoteComment();
try {
CommentModel? commentModel = await remoteComment.getCommentModel();
emit(CommentSuccess(commentModel!));
} catch (e) {
emit(const CommentFailed('request false2!'));
}
}
@override
Future<void> close() {
return super.close();
}
}
part of 'comment_bloc.dart';
@immutable
abstract class CommentEvent extends Equatable {
const CommentEvent();
@override
List<Object?> get props => [];
}
class RequestComment extends CommentEvent {
final BuildContext context;
const RequestComment({
required this.context,
});
@override
List<Object?> get props => [context];
}
// class DetailsCourse extends CourseEvent {
// final BuildContext context;
// const DetailsCourse({
// required this.context,
// });
//
// @override
// List<Object?> get props => [context];
// }
part of 'comment_bloc.dart';
@immutable
abstract class CommentState extends Equatable {
const CommentState();
@override
List<Object?> get props => [];
}
class CommentInitial extends CommentState {
const CommentInitial();
@override
List<Object?> get props => [];
}
class CommentLoading extends CommentState {
const CommentLoading();
}
class CommentFailed extends CommentState {
final String? message;
const CommentFailed(this.message);
}
class CommentSuccess extends CommentState {
final CommentModel commentModel;
const CommentSuccess(this.commentModel);
@override
List<Object?> get props => [commentModel];
}
class CommentResetState extends CommentState {
const CommentResetState();
}
class CommentModel {
List<Data>? data;
Mess? mess;
CommentModel({this.data, this.mess});
CommentModel.fromJson(Map<String, dynamic> json) {
if (json['data'] != null) {
data = <Data>[];
json['data'].forEach((v) {
data!.add(new Data.fromJson(v));
});
}
mess = json['mess'] != null ? new Mess.fromJson(json['mess']) : null;
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
if (this.data != null) {
data['data'] = this.data!.map((v) => v.toJson()).toList();
}
if (this.mess != null) {
data['mess'] = this.mess!.toJson();
}
return data;
}
}
class Data {
String? courseCommentId;
Null? schoolId;
String? courseId;
String? content;
String? createUser;
String? createDate;
String? createUserFullName;
String? createUserAvatar;
String? courseName;
String? courseType;
String? courseKeyword;
String? courseImage;
Data(
{this.courseCommentId,
this.schoolId,
this.courseId,
this.content,
this.createUser,
this.createDate,
this.createUserFullName,
this.createUserAvatar,
this.courseName,
this.courseType,
this.courseKeyword,
this.courseImage});
Data.fromJson(Map<String, dynamic> json) {
courseCommentId = json['courseCommentId'];
schoolId = json['schoolId'];
courseId = json['courseId'];
content = json['content'];
createUser = json['createUser'];
createDate = json['createDate'];
createUserFullName = json['createUserFullName'];
createUserAvatar = json['createUserAvatar'];
courseName = json['courseName'];
courseType = json['courseType'];
courseKeyword = json['courseKeyword'];
courseImage = json['courseImage'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['courseCommentId'] = this.courseCommentId;
data['schoolId'] = this.schoolId;
data['courseId'] = this.courseId;
data['content'] = this.content;
data['createUser'] = this.createUser;
data['createDate'] = this.createDate;
data['createUserFullName'] = this.createUserFullName;
data['createUserAvatar'] = this.createUserAvatar;
data['courseName'] = this.courseName;
data['courseType'] = this.courseType;
data['courseKeyword'] = this.courseKeyword;
data['courseImage'] = this.courseImage;
return data;
}
}
class Mess {
int? code;
String? description;
Mess({this.code, this.description});
Mess.fromJson(Map<String, dynamic> json) {
code = json['code'];
description = json['description'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['code'] = this.code;
data['description'] = this.description;
return data;
}
}
import 'package:dio/dio.dart';
import '../model/comment_model.dart';
class RemoteComment{
Future<CommentModel?> getCommentModel() async{
var dio = Dio();
String url = ("https://imes-api.myitsol.com/api/v1/public/comment/course?courseId=");
var response = await dio.get(url);
if(response.statusCode == 200){
var json = response.data;
return CommentModel.fromJson(json);
}
return null;
}
}
\ No newline at end of file
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../../const/colors.dart';
import '../bloc/comment_bloc.dart';
import '../model/comment_model.dart';
class CommentWidget extends StatelessWidget {
//CommentWidget({Key? key}) : super(key: key);
CommentModel? commentModel;
Function(CommentModel commentModel)? onData;
CommentWidget(this.onData, {super.key});
@override
Widget build(BuildContext context) {
BlocProvider.of<CommentBloc>(context).add(
RequestComment(context: context));
return
BlocConsumer<CommentBloc, CommentState>(
listener: (context, state) async {},
builder: (context, state) {
return
Column(
children: [
Padding(
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Row(
children: [
const Text('Nhan xet cua phu huynh',style: TextStyle(fontWeight: FontWeight.bold,fontSize: 15),),
const SizedBox(width: 100),
TextButton(
child: Text('Xem Them >>'),
onPressed: () {
print('Pressed');
}
)
],
),
),
BlocBuilder<CommentBloc, CommentState>(
builder: (context, state) {
if(state is CommentInitial){
return const Text('CommentInitial');
}
if(state is CommentFailed){
//const CircularProgressIndicator();
return Text('CommentFailed');
}
if(state is CommentLoading){
return const Text('CommentLoading');
}
if(state is CommentSuccess){
commentModel = state.commentModel;
onData!(commentModel!);
return
Container(
decoration: const BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(10)),
color: AppColors.background,
boxShadow: [
BoxShadow(
color: AppColors.primary_light,
spreadRadius: 1,
),
],
),
height: 250,
width: double.maxFinite,
child:
PageView.builder(
itemCount: state.commentModel!.data!.length,
itemBuilder: (BuildContext context, int index) {
return
Column(
children: [
Text(state.commentModel!.data![index].courseId!),
Text(state.commentModel!.data![index].courseName!),
],
);
},
onPageChanged: (int index) {
}),
);
}
return const Text('NewFailed');
}
),
const SizedBox(height: 100,),
],
);
}
);
}
}
import 'package:equatable/equatable.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
part 'counter_state.dart';
part 'counter_event.dart';
class CounterBloc extends Bloc<CounterEvent, CounterState> {
CounterBloc() : super(const CounterHomePageState()) {
on<NavigationBottomEvent>((event, emit) async {
await _requestNavigationBottom(event, emit);
});
}
Future<void> _requestNavigationBottom(NavigationBottomEvent event, Emitter<CounterState> emit) async{
if(event.indexNavigationBottom == 0){
emit(const CounterHomePageState());
return;
}
if(event.indexNavigationBottom == 1){
emit(const CounterButAboutPageState());
return;
}
if(event.indexNavigationBottom == 2){
emit(const CounterCameraPageState());
return;
}
if(event.indexNavigationBottom == 3){
emit(const CounterButAnswerPageState());
return;
}
if(event.indexNavigationBottom == 4){
emit(const CounterAccountPageState());
return;
}else {
emit(const CounterHomePageState());
return;
}
}
@override
Future<void> close() {
return super.close();
}
}
part of 'counter_bloc.dart';
abstract class CounterEvent extends Equatable {
const CounterEvent();
@override
List<Object> get props => [];
}
class NavigationBottomEvent extends CounterEvent {
final int indexNavigationBottom;
const NavigationBottomEvent({
required this.indexNavigationBottom,
});
@override
List<Object> get props => [indexNavigationBottom];
}
part of 'counter_bloc.dart';
abstract class CounterState extends Equatable {
const CounterState();
@override
List<Object?> get props => [];
}
class CounterInitialState extends CounterState {
const CounterInitialState();
@override
List<Object?> get props => [];
}
class CounterHomePageState extends CounterState {
const CounterHomePageState();
@override
List<Object?> get props => [];
}
class CounterButAboutPageState extends CounterState {
const CounterButAboutPageState();
@override
List<Object?> get props => [];
}
class CounterCameraPageState extends CounterState {
const CounterCameraPageState();
@override
List<Object?> get props => [];
}
class CounterButAnswerPageState extends CounterState {
const CounterButAnswerPageState();
@override
List<Object?> get props => [];
}
class CounterAccountPageState extends CounterState {
const CounterAccountPageState();
@override
List<Object?> get props => [];
}
class CounterFailedState extends CounterState {
final String? message;
const CounterFailedState(this.message);
}
import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter/cupertino.dart';
import '../model/course_model.dart';
import '../request/course_request.dart';
part 'course_event.dart';
part 'course_state.dart';
class CourseBloc extends Bloc<CourseEvent, CourseState> {
CourseBloc() : super(const CourseInitial()) {
on<RequestCourse>((event, emit) async {
await _requestCourse(event, emit);
});
}
Future<void> _requestCourse(RequestCourse event, Emitter<CourseState> emit) async {
RemoteCourse remoteCourse = RemoteCourse();
try {
CourseModel? courseModel = await remoteCourse.getCourseModel();
emit(CourseSuccess(courseModel!));
} catch (e) {
emit(const CourseFailed('request false1!'));
}
}
@override
Future<void> close() {
return super.close();
}
}
part of 'course_bloc.dart';
@immutable
abstract class CourseEvent extends Equatable {
const CourseEvent();
@override
List<Object?> get props => [];
}
class RequestCourse extends CourseEvent {
final BuildContext context;
const RequestCourse({
required this.context,
});
@override
List<Object?> get props => [context];
}
// class DetailsCourse extends CourseEvent {
// final BuildContext context;
// const DetailsCourse({
// required this.context,
// });
//
// @override
// List<Object?> get props => [context];
// }
part of 'course_bloc.dart';
@immutable
abstract class CourseState extends Equatable {
const CourseState();
@override
List<Object?> get props => [];
}
class CourseInitial extends CourseState {
const CourseInitial();
@override
List<Object?> get props => [];
}
class CourseLoading extends CourseState {
const CourseLoading();
}
class CourseFailed extends CourseState {
final String? message;
const CourseFailed(this.message);
}
class CourseSuccess extends CourseState {
final CourseModel courseModel;
const CourseSuccess(this.courseModel);
@override
List<Object?> get props => [courseModel];
}
class CourseResetState extends CourseState {
const CourseResetState();
}
import 'package:json_annotation/json_annotation.dart';
import 'data.dart';
part 'course_model.g.dart';
@JsonSerializable()
class CourseModel {
Data? data;
Mess? mess;
CourseModel({this.data, this.mess});
factory CourseModel.fromJson(Map<String, dynamic> json) => _$CourseModelFromJson(json);
Map<String, dynamic> toJson() => _$CourseModelToJson(this);
}
class Teachers {
String? courseUserId;
String? courseId;
String? username;
String? fullName;
String? role;
String? startdate;
String? enddate;
String? stageAddress;
String? teacherIncomeType;
bool? freeTuition;
String? createDate;
String? createUser;
String? updateDate;
double? incomeByPercent;
String? updateUser;
int? incomeByCourseDay;
Teachers(
{this.courseUserId,
this.courseId,
this.username,
this.fullName,
this.role,
this.startdate,
this.enddate,
this.stageAddress,
this.teacherIncomeType,
this.freeTuition,
this.createDate,
this.createUser,
this.updateDate,
this.incomeByPercent,
this.updateUser,
this.incomeByCourseDay});
Teachers.fromJson(Map<String, dynamic> json) {
courseUserId = json['courseUserId'];
courseId = json['courseId'];
username = json['username'];
fullName = json['fullName'];
role = json['role'];
startdate = json['startdate'];
enddate = json['enddate'];
stageAddress = json['stageAddress'];
teacherIncomeType = json['teacherIncomeType'];
freeTuition = json['freeTuition'];
createDate = json['createDate'];
createUser = json['createUser'];
updateDate = json['updateDate'];
incomeByPercent = json['incomeByPercent'];
updateUser = json['updateUser'];
incomeByCourseDay = json['incomeByCourseDay'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['courseUserId'] = this.courseUserId;
data['courseId'] = this.courseId;
data['username'] = this.username;
data['fullName'] = this.fullName;
data['role'] = this.role;
data['startdate'] = this.startdate;
data['enddate'] = this.enddate;
data['stageAddress'] = this.stageAddress;
data['teacherIncomeType'] = this.teacherIncomeType;
data['freeTuition'] = this.freeTuition;
data['createDate'] = this.createDate;
data['createUser'] = this.createUser;
data['updateDate'] = this.updateDate;
data['incomeByPercent'] = this.incomeByPercent;
data['updateUser'] = this.updateUser;
data['incomeByCourseDay'] = this.incomeByCourseDay;
return data;
}
}
class Mess {
int? code;
String? description;
Mess({this.code, this.description});
Mess.fromJson(Map<String, dynamic> json) {
code = json['code'];
description = json['description'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['code'] = this.code;
data['description'] = this.description;
return data;
}
}
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'course_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
CourseModel _$CourseModelFromJson(Map<String, dynamic> json) => CourseModel(
data: json['data'] == null
? null
: Data.fromJson(json['data'] as Map<String, dynamic>),
mess: json['mess'] == null
? null
: Mess.fromJson(json['mess'] as Map<String, dynamic>),
);
Map<String, dynamic> _$CourseModelToJson(CourseModel instance) =>
<String, dynamic>{
'data': instance.data,
'mess': instance.mess,
};
import 'package:json_annotation/json_annotation.dart';
import 'list_data.dart';
part 'data.g.dart';
@JsonSerializable()
class Data {
List<ListData>? listData;
int? count;
Data({this.listData, this.count});
factory Data.fromJson(Map<String, dynamic> json) => _$DataFromJson(json);
Map<String, dynamic> toJson() => _$DataToJson(this);
}
\ No newline at end of file
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'data.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Data _$DataFromJson(Map<String, dynamic> json) => Data(
listData: (json['listData'] as List<dynamic>?)
?.map((e) => ListData.fromJson(e as Map<String, dynamic>))
.toList(),
count: json['count'] as int?,
);
Map<String, dynamic> _$DataToJson(Data instance) => <String, dynamic>{
'listData': instance.listData,
'count': instance.count,
};
import 'package:json_annotation/json_annotation.dart';
part 'list_data.g.dart';
@JsonSerializable()
class ListData {
String? courseId;
String? schoolId;
String? folderId;
String? type;
String? code;
String? name;
String? shortname;
String? keyword;
String? image;
String? intro;
String? status;
String? releaseStatus;
String? learningmode;
int? sortorder;
int? studentCount;
dynamic price;
dynamic salePrice;
dynamic totalIncome;
int? totalLesson;
int? totalChapter;
dynamic accessLimit;
String? openDate;
String? createDate;
String? createUser;
// List<Teachers>? teachers;
String? grantStatus;
dynamic rawGrade;
String? cap;
String? teacherFullNameLst;
dynamic currentRating;
bool? courseIT;
String? updateDate;
String? updateUser;
ListData(
{this.courseId,
this.schoolId,
this.folderId,
this.type,
this.code,
this.name,
this.shortname,
this.keyword,
this.image,
this.intro,
this.status,
this.releaseStatus,
this.learningmode,
this.sortorder,
this.studentCount,
this.price,
this.salePrice,
this.totalIncome,
this.totalLesson,
this.totalChapter,
this.accessLimit,
this.openDate,
this.createDate,
this.createUser,
/* // this.teachers,*/
this.grantStatus,
this.rawGrade,
this.cap,
this.teacherFullNameLst,
this.currentRating,
this.courseIT,
this.updateDate,
this.updateUser});
factory ListData.fromJson(Map<String, dynamic> json) => _$ListDataFromJson(json);
Map<String, dynamic> toJson() => _$ListDataToJson(this);
}
\ No newline at end of file
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'list_data.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
ListData _$ListDataFromJson(Map<String, dynamic> json) => ListData(
courseId: json['courseId'] as String?,
schoolId: json['schoolId'] as String?,
folderId: json['folderId'] as String?,
type: json['type'] as String?,
code: json['code'] as String?,
name: json['name'] as String?,
shortname: json['shortname'] as String?,
keyword: json['keyword'] as String?,
image: json['image'] as String?,
intro: json['intro'] as String?,
status: json['status'] as String?,
releaseStatus: json['releaseStatus'] as String?,
learningmode: json['learningmode'] as String?,
sortorder: json['sortorder'] as int?,
studentCount: json['studentCount'] as int?,
price: json['price'],
salePrice: json['salePrice'],
totalIncome: json['totalIncome'],
totalLesson: json['totalLesson'] as int?,
totalChapter: json['totalChapter'] as int?,
accessLimit: json['accessLimit'],
openDate: json['openDate'] as String?,
createDate: json['createDate'] as String?,
createUser: json['createUser'] as String?,
grantStatus: json['grantStatus'] as String?,
rawGrade: json['rawGrade'],
cap: json['cap'] as String?,
teacherFullNameLst: json['teacherFullNameLst'] as String?,
currentRating: json['currentRating'],
courseIT: json['courseIT'] as bool?,
updateDate: json['updateDate'] as String?,
updateUser: json['updateUser'] as String?,
);
Map<String, dynamic> _$ListDataToJson(ListData instance) => <String, dynamic>{
'courseId': instance.courseId,
'schoolId': instance.schoolId,
'folderId': instance.folderId,
'type': instance.type,
'code': instance.code,
'name': instance.name,
'shortname': instance.shortname,
'keyword': instance.keyword,
'image': instance.image,
'intro': instance.intro,
'status': instance.status,
'releaseStatus': instance.releaseStatus,
'learningmode': instance.learningmode,
'sortorder': instance.sortorder,
'studentCount': instance.studentCount,
'price': instance.price,
'salePrice': instance.salePrice,
'totalIncome': instance.totalIncome,
'totalLesson': instance.totalLesson,
'totalChapter': instance.totalChapter,
'accessLimit': instance.accessLimit,
'openDate': instance.openDate,
'createDate': instance.createDate,
'createUser': instance.createUser,
'grantStatus': instance.grantStatus,
'rawGrade': instance.rawGrade,
'cap': instance.cap,
'teacherFullNameLst': instance.teacherFullNameLst,
'currentRating': instance.currentRating,
'courseIT': instance.courseIT,
'updateDate': instance.updateDate,
'updateUser': instance.updateUser,
};
import 'package:dio/dio.dart';
import '../model/course_model.dart';
class RemoteCourse{
Future<CourseModel?> getCourseModel() async{
var dio = Dio();
String url = ("https://imes-api.myitsol.com/api/v1/public/search-courses");
var response = await dio.get(url);
if(response.statusCode == 200){
var json = response.data;
return CourseModel.fromJson(json);
}
return null;
}
}
\ No newline at end of file
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_swiper_view/flutter_swiper_view.dart';
import 'package:ongbut_ntmanh/app/module/course/model/list_data.dart';
import 'package:ongbut_ntmanh/const/colors.dart';
import '../../../../res/images/images.dart';
import '../../../../widgets/widgets_util.dart';
import '../bloc/course_bloc.dart';
import '../model/course_model.dart';
class CourseWidget extends StatelessWidget {
CourseWidget({Key? key}) : super(key: key);
CourseModel? courseModel;
List<ListData> listData = [];
@override
Widget build(BuildContext context) {
BlocProvider.of<CourseBloc>(context).add(
RequestCourse(context: context));
return
BlocConsumer<CourseBloc, CourseState>(
listener: (context, state) async {},
builder: (context, state) {
return Column(
children: [
Padding(
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Row(
children: [
const Text('Tham Gia Khoa Hoc Thu',style: TextStyle(fontWeight: FontWeight.bold,fontSize: 15),),
const SizedBox(width: 100),
TextButton(
child: const Text('Xem Them>>'),
onPressed: () {
print('Pressed');
}
)
],
),
),
BlocBuilder<CourseBloc, CourseState>(
builder: (context, state) {
if(state is CourseInitial){
const CircularProgressIndicator();
}
if(state is CourseLoading){
return const CircularProgressIndicator();
}
if(state is CourseFailed){
return Text(state.message.toString());
}
if(state is CourseSuccess){
listData = state.courseModel.data!.listData!;
return
//Text(listData.length.toString());
Swiper(
itemHeight: 340,
itemWidth: checkLandscape(context)?getWidth(context)*1:getWidth(context)*1,
layout: SwiperLayout.TINDER,
itemBuilder: (BuildContext context, int index) {
return
Container(
height: 300,
width: 300,
decoration: const BoxDecoration(
boxShadow: [
BoxShadow(
color: AppColors.primary,
spreadRadius: 1,
),
],
color: Colors.white,
borderRadius: BorderRadius.all(Radius.circular(10)),
),
child: Column(children: [
ClipRRect(
borderRadius: BorderRadius.circular(8.0),
child:
Image.network(listData[index].image!=null?listData[index].image!:'https://oss.myitsol.com/imes-public/2022/12/11/neymar_145527553.PNG',
fit: BoxFit.fill,height: 200,width: double.maxFinite,
errorBuilder: (BuildContext context, Object exception,
StackTrace? stackTrace) {
return const Text('😢');
},
),
),
Padding(
padding: const EdgeInsets.all(10.0),
child:
Text(listData[index].type!),
//Text('abc'),
),
Padding(
padding: const EdgeInsets.all(10.0),
child:
Text(listData[index].name!),
//Text('123'),
),
],),
);
},
itemCount: listData.length,
viewportFraction: 0.8,
scale: 0.9,
// state.courseModel.data!.listData!.length,
);
}
return const Text('CourseFailed');
}
)
],
);
}
);
}
}
import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import 'package:ongbut_ntmanh/app/module/coursedetail/model/course_detail_model.dart';
import '../request/course_detail_request.dart';
part 'course_detail_event.dart';
part 'course_detail_state.dart';
class CourseDetailBloc extends Bloc<CourseDetailEvent, CourseDetailState> {
CourseDetailBloc() : super(const CourseDetailInitial()) {
on<RequestCourseDetail>((event, emit) async {
await _requestCourseDetail(event, emit);
});
}
Future<void> _requestCourseDetail(RequestCourseDetail event, Emitter<CourseDetailState> emit) async {
if(event.idCourse.isEmpty){
emit(const CourseDetailFailed('NotID'));
return;
}
RemoteCourseDetail remoteCourseDetail = RemoteCourseDetail();
try {
CourseDetailModel? courseDetailModel = await remoteCourseDetail.getCourseDetailModel(context: event.context,idCourse: event.idCourse);
emit(CourseDetailSuccess(courseDetailModel!));
} catch (e) {
emit(const CourseDetailFailed('request CourseDetail false21!!'));
}
}
@override
Future<void> close() {
return super.close();
}
}
part of 'course_detail_bloc.dart';
@immutable
abstract class CourseDetailEvent extends Equatable {
const CourseDetailEvent();
@override
List<Object?> get props => [];
}
class RequestCourseDetail extends CourseDetailEvent {
final BuildContext context;
final String idCourse;
const RequestCourseDetail({
required this.context,
required this.idCourse,
});
@override
List<Object?> get props => [idCourse];
}
// class DetailsCourse extends CourseEvent {
// final BuildContext context;
// const DetailsCourse({
// required this.context,
// });
//
// @override
// List<Object?> get props => [context];
// }
part of 'course_detail_bloc.dart';
@immutable
abstract class CourseDetailState extends Equatable {
const CourseDetailState();
@override
List<Object?> get props => [];
}
class CourseDetailInitial extends CourseDetailState {
const CourseDetailInitial();
@override
List<Object?> get props => [];
}
class CourseDetailLoading extends CourseDetailState {
const CourseDetailLoading();
}
class CourseDetailFailed extends CourseDetailState {
final String? message;
const CourseDetailFailed(this.message);
}
class CourseDetailSuccess extends CourseDetailState {
final CourseDetailModel courseDetailModel;
const CourseDetailSuccess(this.courseDetailModel);
@override
List<Object?> get props => [courseDetailModel];
}
class CourseDetailResetState extends CourseDetailState {
const CourseDetailResetState();
}
import 'package:json_annotation/json_annotation.dart';
import 'list_lesson.dart';
part 'chapters.g.dart';
@JsonSerializable()
class Chapters {
String? chapterId;
String? courseId;
String? name;
int? sortorder;
String? openType;
double? openAfter;
String? createDate;
String? createUser;
String? updateDate;
String? updateUser;
List<ListLesson>? listLesson;
int? chapterFirstRow;
int? chapterLastRow;
Chapters(
{this.chapterId,
this.courseId,
this.name,
this.sortorder,
this.openType,
this.openAfter,
this.createDate,
this.createUser,
this.updateDate,
this.updateUser,
this.listLesson,
this.chapterFirstRow,
this.chapterLastRow});
factory Chapters.fromJson(Map<String, dynamic> json) => _$ChaptersFromJson(json);
Map<String, dynamic> toJson() => _$ChaptersToJson(this);
}
\ No newline at end of file
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'chapters.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Chapters _$ChaptersFromJson(Map<String, dynamic> json) => Chapters(
chapterId: json['chapterId'] as String?,
courseId: json['courseId'] as String?,
name: json['name'] as String?,
sortorder: json['sortorder'] as int?,
openType: json['openType'] as String?,
openAfter: (json['openAfter'] as num?)?.toDouble(),
createDate: json['createDate'] as String?,
createUser: json['createUser'] as String?,
updateDate: json['updateDate'] as String?,
updateUser: json['updateUser'] as String?,
listLesson: (json['listLesson'] as List<dynamic>?)
?.map((e) => ListLesson.fromJson(e as Map<String, dynamic>))
.toList(),
chapterFirstRow: json['chapterFirstRow'] as int?,
chapterLastRow: json['chapterLastRow'] as int?,
);
Map<String, dynamic> _$ChaptersToJson(Chapters instance) => <String, dynamic>{
'chapterId': instance.chapterId,
'courseId': instance.courseId,
'name': instance.name,
'sortorder': instance.sortorder,
'openType': instance.openType,
'openAfter': instance.openAfter,
'createDate': instance.createDate,
'createUser': instance.createUser,
'updateDate': instance.updateDate,
'updateUser': instance.updateUser,
'listLesson': instance.listLesson,
'chapterFirstRow': instance.chapterFirstRow,
'chapterLastRow': instance.chapterLastRow,
};
import 'package:json_annotation/json_annotation.dart';
import 'mess.dart';
import 'data.dart';
part 'course_detail_model.g.dart';
@JsonSerializable()
class CourseDetailModel {
Data? data;
Mess? mess;
CourseDetailModel({this.data,
this.mess
});
factory CourseDetailModel.fromJson(Map<String, dynamic> json) => _$CourseDetailModelFromJson(json);
Map<String, dynamic> toJson() => _$CourseDetailModelToJson(this);
}
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'course_detail_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
CourseDetailModel _$CourseDetailModelFromJson(Map<String, dynamic> json) =>
CourseDetailModel(
data: json['data'] == null
? null
: Data.fromJson(json['data'] as Map<String, dynamic>),
mess: json['mess'] == null
? null
: Mess.fromJson(json['mess'] as Map<String, dynamic>),
);
Map<String, dynamic> _$CourseDetailModelToJson(CourseDetailModel instance) =>
<String, dynamic>{
'data': instance.data,
'mess': instance.mess,
};
import 'package:json_annotation/json_annotation.dart';
part 'course_info.g.dart';
@JsonSerializable()
class CourseInfo {
String? courseId;
String? schoolId;
String? folderId;
String? type;
String? code;
String? name;
String? shortname;
String? keyword;
String? image;
String? intro;
String? status;
String? releaseStatus;
String? learningmode;
int? sortorder;
int? studentCount;
double? price;
double? salePrice;
double? totalIncome;
int? totalLesson;
int? totalChapter;
int? accessLimit;
String? createDate;
String? createUser;
String? updateDate;
String? updateUser;
String? folderName;
// List<Null>? teachers;
String? grantStatus;
String? teacherFullNameLst;
int? finishedDay;
int? currentRating;
bool? courseIT;
CourseInfo(
{this.courseId,
this.schoolId,
this.folderId,
this.type,
this.code,
this.name,
this.shortname,
this.keyword,
this.image,
this.intro,
this.status,
this.releaseStatus,
this.learningmode,
this.sortorder,
this.studentCount,
this.price,
this.salePrice,
this.totalIncome,
this.totalLesson,
this.totalChapter,
this.accessLimit,
this.createDate,
this.createUser,
this.updateDate,
this.updateUser,
this.folderName,
// this.teachers,
this.grantStatus,
this.teacherFullNameLst,
this.finishedDay,
this.currentRating,
this.courseIT});
factory CourseInfo.fromJson(Map<String, dynamic> json) => _$CourseInfoFromJson(json);
Map<String, dynamic> toJson() => _$CourseInfoToJson(this);
}
\ No newline at end of file
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'course_info.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
CourseInfo _$CourseInfoFromJson(Map<String, dynamic> json) => CourseInfo(
courseId: json['courseId'] as String?,
schoolId: json['schoolId'] as String?,
folderId: json['folderId'] as String?,
type: json['type'] as String?,
code: json['code'] as String?,
name: json['name'] as String?,
shortname: json['shortname'] as String?,
keyword: json['keyword'] as String?,
image: json['image'] as String?,
intro: json['intro'] as String?,
status: json['status'] as String?,
releaseStatus: json['releaseStatus'] as String?,
learningmode: json['learningmode'] as String?,
sortorder: json['sortorder'] as int?,
studentCount: json['studentCount'] as int?,
price: (json['price'] as num?)?.toDouble(),
salePrice: (json['salePrice'] as num?)?.toDouble(),
totalIncome: (json['totalIncome'] as num?)?.toDouble(),
totalLesson: json['totalLesson'] as int?,
totalChapter: json['totalChapter'] as int?,
accessLimit: json['accessLimit'] as int?,
createDate: json['createDate'] as String?,
createUser: json['createUser'] as String?,
updateDate: json['updateDate'] as String?,
updateUser: json['updateUser'] as String?,
folderName: json['folderName'] as String?,
grantStatus: json['grantStatus'] as String?,
teacherFullNameLst: json['teacherFullNameLst'] as String?,
finishedDay: json['finishedDay'] as int?,
currentRating: json['currentRating'] as int?,
courseIT: json['courseIT'] as bool?,
);
Map<String, dynamic> _$CourseInfoToJson(CourseInfo instance) =>
<String, dynamic>{
'courseId': instance.courseId,
'schoolId': instance.schoolId,
'folderId': instance.folderId,
'type': instance.type,
'code': instance.code,
'name': instance.name,
'shortname': instance.shortname,
'keyword': instance.keyword,
'image': instance.image,
'intro': instance.intro,
'status': instance.status,
'releaseStatus': instance.releaseStatus,
'learningmode': instance.learningmode,
'sortorder': instance.sortorder,
'studentCount': instance.studentCount,
'price': instance.price,
'salePrice': instance.salePrice,
'totalIncome': instance.totalIncome,
'totalLesson': instance.totalLesson,
'totalChapter': instance.totalChapter,
'accessLimit': instance.accessLimit,
'createDate': instance.createDate,
'createUser': instance.createUser,
'updateDate': instance.updateDate,
'updateUser': instance.updateUser,
'folderName': instance.folderName,
'grantStatus': instance.grantStatus,
'teacherFullNameLst': instance.teacherFullNameLst,
'finishedDay': instance.finishedDay,
'currentRating': instance.currentRating,
'courseIT': instance.courseIT,
};
import 'package:json_annotation/json_annotation.dart';
import 'chapters.dart';
import 'course_info.dart';
part 'data.g.dart';
@JsonSerializable()
class Data {
List<Chapters>? chapters;
CourseInfo? courseInfo;
Data({this.chapters, this.courseInfo});
factory Data.fromJson(Map<String, dynamic> json) => _$DataFromJson(json);
Map<String, dynamic> toJson() => _$DataToJson(this);
}
\ No newline at end of file
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'data.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Data _$DataFromJson(Map<String, dynamic> json) => Data(
chapters: (json['chapters'] as List<dynamic>?)
?.map((e) => Chapters.fromJson(e as Map<String, dynamic>))
.toList(),
courseInfo: json['courseInfo'] == null
? null
: CourseInfo.fromJson(json['courseInfo'] as Map<String, dynamic>),
);
Map<String, dynamic> _$DataToJson(Data instance) => <String, dynamic>{
'chapters': instance.chapters,
'courseInfo': instance.courseInfo,
};
import 'package:json_annotation/json_annotation.dart';
import 'list_part.dart';
part 'list_lesson.g.dart';
@JsonSerializable()
class ListLesson {
String? lessonId;
String? chapterId;
String? name;
bool? free;
int? sortorder;
String? openType;
double? openAfter;
String? completeType;
int? minView;
String? createDate;
String? createUser;
String? updateDate;
String? updateUser;
List<ListPart>? listPart;
bool? competeLesson;
int? lessonFirstRow;
int? lessonLastRow;
ListLesson(
{this.lessonId,
this.chapterId,
this.name,
this.free,
this.sortorder,
this.openType,
this.openAfter,
this.completeType,
this.minView,
this.createDate,
this.createUser,
this.updateDate,
this.updateUser,
this.listPart,
this.competeLesson,
this.lessonFirstRow,
this.lessonLastRow});
factory ListLesson.fromJson(Map<String, dynamic> json) => _$ListLessonFromJson(json);
Map<String, dynamic> toJson() => _$ListLessonToJson(this);
}
\ No newline at end of file
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'list_lesson.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
ListLesson _$ListLessonFromJson(Map<String, dynamic> json) => ListLesson(
lessonId: json['lessonId'] as String?,
chapterId: json['chapterId'] as String?,
name: json['name'] as String?,
free: json['free'] as bool?,
sortorder: json['sortorder'] as int?,
openType: json['openType'] as String?,
openAfter: (json['openAfter'] as num?)?.toDouble(),
completeType: json['completeType'] as String?,
minView: json['minView'] as int?,
createDate: json['createDate'] as String?,
createUser: json['createUser'] as String?,
updateDate: json['updateDate'] as String?,
updateUser: json['updateUser'] as String?,
listPart: (json['listPart'] as List<dynamic>?)
?.map((e) => ListPart.fromJson(e as Map<String, dynamic>))
.toList(),
competeLesson: json['competeLesson'] as bool?,
lessonFirstRow: json['lessonFirstRow'] as int?,
lessonLastRow: json['lessonLastRow'] as int?,
);
Map<String, dynamic> _$ListLessonToJson(ListLesson instance) =>
<String, dynamic>{
'lessonId': instance.lessonId,
'chapterId': instance.chapterId,
'name': instance.name,
'free': instance.free,
'sortorder': instance.sortorder,
'openType': instance.openType,
'openAfter': instance.openAfter,
'completeType': instance.completeType,
'minView': instance.minView,
'createDate': instance.createDate,
'createUser': instance.createUser,
'updateDate': instance.updateDate,
'updateUser': instance.updateUser,
'listPart': instance.listPart,
'competeLesson': instance.competeLesson,
'lessonFirstRow': instance.lessonFirstRow,
'lessonLastRow': instance.lessonLastRow,
};
import 'package:json_annotation/json_annotation.dart';
part 'list_part.g.dart';
@JsonSerializable()
class ListPart {
String? partId;
String? lessonId;
String? partType;
int? partFirstRow;
int? partLastRow;
String? title;
ListPart(
{this.partId,
this.lessonId,
this.partType,
this.partFirstRow,
this.partLastRow,
this.title});
factory ListPart.fromJson(Map<String, dynamic> json) => _$ListPartFromJson(json);
Map<String, dynamic> toJson() => _$ListPartToJson(this);
}
\ No newline at end of file
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'list_part.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
ListPart _$ListPartFromJson(Map<String, dynamic> json) => ListPart(
partId: json['partId'] as String?,
lessonId: json['lessonId'] as String?,
partType: json['partType'] as String?,
partFirstRow: json['partFirstRow'] as int?,
partLastRow: json['partLastRow'] as int?,
title: json['title'] as String?,
);
Map<String, dynamic> _$ListPartToJson(ListPart instance) => <String, dynamic>{
'partId': instance.partId,
'lessonId': instance.lessonId,
'partType': instance.partType,
'partFirstRow': instance.partFirstRow,
'partLastRow': instance.partLastRow,
'title': instance.title,
};
import 'package:json_annotation/json_annotation.dart';
part 'mess.g.dart';
@JsonSerializable()
class Mess {
int? code;
String? description;
Mess({this.code, this.description});
factory Mess.fromJson(Map<String, dynamic> json) => _$MessFromJson(json);
Map<String, dynamic> toJson() => _$MessToJson(this);
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment