Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
E
esc_pos_print_plus
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dio Maulana
esc_pos_print_plus
Commits
77c86ff6
Commit
77c86ff6
authored
Mar 10, 2020
by
Andrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regenerated discover_printers project
parent
aae0cf7f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
194 additions
and
212 deletions
+194
-212
.flutter-plugins-dependencies
example/discover_printers/.flutter-plugins-dependencies
+0
-1
.gitignore
example/discover_printers/.gitignore
+7
-40
.metadata
example/discover_printers/.metadata
+1
-1
README.md
example/discover_printers/README.md
+2
-2
.gitignore
example/discover_printers/android/.gitignore
+7
-0
build.gradle
example/discover_printers/android/app/build.gradle
+9
-3
AndroidManifest.xml
...iscover_printers/android/app/src/main/AndroidManifest.xml
+6
-9
MainActivity.java
...main/java/com/example/discover_printers/MainActivity.java
+0
-13
MainActivity.kt
...main/kotlin/com/example/discover_printers/MainActivity.kt
+12
-0
build.gradle
example/discover_printers/android/build.gradle
+3
-1
gradle.properties
example/discover_printers/android/gradle.properties
+3
-0
gradle-wrapper.properties
...printers/android/gradle/wrapper/gradle-wrapper.properties
+1
-1
.gitignore
example/discover_printers/ios/.gitignore
+32
-0
AppFrameworkInfo.plist
example/discover_printers/ios/Flutter/AppFrameworkInfo.plist
+1
-1
Flutter.podspec
example/discover_printers/ios/Flutter/Flutter.podspec
+0
-18
flutter_export_environment.sh
...scover_printers/ios/Flutter/flutter_export_environment.sh
+0
-10
Podfile
example/discover_printers/ios/Podfile
+3
-0
Podfile.lock
example/discover_printers/ios/Podfile.lock
+1
-7
project.pbxproj
...le/discover_printers/ios/Runner.xcodeproj/project.pbxproj
+56
-43
IDEWorkspaceChecks.plist
...project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+0
-8
Runner.xcscheme
...s/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+1
-1
WorkspaceSettings.xcsettings
...ner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+0
-8
AppDelegate.h
example/discover_printers/ios/Runner/AppDelegate.h
+0
-6
AppDelegate.m
example/discover_printers/ios/Runner/AppDelegate.m
+0
-13
AppDelegate.swift
example/discover_printers/ios/Runner/AppDelegate.swift
+13
-0
Icon-App-1024x1024@1x.png
...ets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
+0
-0
Main.storyboard
...e/discover_printers/ios/Runner/Base.lproj/Main.storyboard
+5
-9
Info.plist
example/discover_printers/ios/Runner/Info.plist
+1
-1
Runner-Bridging-Header.h
...ple/discover_printers/ios/Runner/Runner-Bridging-Header.h
+1
-0
main.m
example/discover_printers/ios/Runner/main.m
+0
-9
pubspec.yaml
example/discover_printers/pubspec.yaml
+3
-3
widget_test.dart
example/discover_printers/test/widget_test.dart
+26
-4
No files found.
example/discover_printers/.flutter-plugins-dependencies
deleted
100644 → 0
View file @
aae0cf7f
{"_info":"// This is a generated file; do not edit or check into version control.","dependencyGraph":[{"name":"wifi","dependencies":[]}]}
\ No newline at end of file
example/discover_printers/.gitignore
View file @
77c86ff6
...
...
@@ -15,56 +15,23 @@
*.iws
.idea/
# Visual Studio Code related
.vscode/
# 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/
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/
# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java
# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*
# Web related
lib/generated_plugin_registrant.dart
# Exceptions to above rules.
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
example/discover_printers/.metadata
View file @
77c86ff6
...
...
@@ -4,7 +4,7 @@
# This file should be version controlled and should not be manually edited.
version:
revision:
7a4c33425ddd78c54aba07d86f3f9a4a0051769b
revision:
0b8abb4724aa590dd0f429683339b1e045a1594d
channel: stable
project_type: app
example/discover_printers/README.md
View file @
77c86ff6
...
...
@@ -11,6 +11,6 @@ A few resources to get you started if this is your first Flutter project:
-
[
Lab: Write your first Flutter app
](
https://flutter.dev/docs/get-started/codelab
)
-
[
Cookbook: Useful Flutter samples
](
https://flutter.dev/docs/cookbook
)
For help getting started with Flutter, view our
[
online documentation
](
https://flutter.dev/docs
)
, which offers tutorials,
For help getting started with Flutter, view our
[
online documentation
](
https://flutter.dev/docs
)
, which offers tutorials,
samples, guidance on mobile development, and a full API reference.
example/discover_printers/android/.gitignore
0 → 100644
View file @
77c86ff6
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java
example/discover_printers/android/app/build.gradle
View file @
77c86ff6
...
...
@@ -22,11 +22,16 @@ if (flutterVersionName == null) {
}
apply
plugin:
'com.android.application'
apply
plugin:
'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
28
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
}
lintOptions
{
disable
'InvalidPackage'
}
...
...
@@ -38,7 +43,7 @@ android {
targetSdkVersion
28
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
testInstrumentationRunner
"android
.support
.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"android
x
.test.runner.AndroidJUnitRunner"
}
buildTypes
{
...
...
@@ -55,7 +60,8 @@ flutter {
}
dependencies
{
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
testImplementation
'junit:junit:4.12'
androidTestImplementation
'
com.android.support.test:runner:1.0.2
'
androidTestImplementation
'
com.android.support.test.espresso:espresso-core:3.0.2
'
androidTestImplementation
'
androidx.test:runner:1.1.1
'
androidTestImplementation
'
androidx.test.espresso:espresso-core:3.1.1
'
}
example/discover_printers/android/app/src/main/AndroidManifest.xml
View file @
77c86ff6
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.example.discover_printers"
>
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
...
...
@@ -14,20 +13,18 @@
android:name=
".MainActivity"
android:launchMode=
"singleTop"
android:theme=
"@style/LaunchTheme"
android:configChanges=
"orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:configChanges=
"orientation|keyboardHidden|keyboard|screenSize|
smallestScreenSize|
locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated=
"true"
android:windowSoftInputMode=
"adjustResize"
>
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->
<meta-data
android:name=
"io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value=
"true"
/>
<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>
example/discover_printers/android/app/src/main/java/com/example/discover_printers/MainActivity.java
deleted
100644 → 0
View file @
aae0cf7f
package
com
.
example
.
discover_printers
;
import
android.os.Bundle
;
import
io.flutter.app.FlutterActivity
;
import
io.flutter.plugins.GeneratedPluginRegistrant
;
public
class
MainActivity
extends
FlutterActivity
{
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
GeneratedPluginRegistrant
.
registerWith
(
this
);
}
}
example/discover_printers/android/app/src/main/kotlin/com/example/discover_printers/MainActivity.kt
0 → 100644
View file @
77c86ff6
package
com.example.discover_printers
import
androidx.annotation.NonNull;
import
io.flutter.embedding.android.FlutterActivity
import
io.flutter.embedding.engine.FlutterEngine
import
io.flutter.plugins.GeneratedPluginRegistrant
class
MainActivity
:
FlutterActivity
()
{
override
fun
configureFlutterEngine
(
@NonNull
flutterEngine
:
FlutterEngine
)
{
GeneratedPluginRegistrant
.
registerWith
(
flutterEngine
);
}
}
example/discover_printers/android/build.gradle
View file @
77c86ff6
buildscript
{
ext
.
kotlin_version
=
'1.3.50'
repositories
{
google
()
jcenter
()
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.2.1'
classpath
'com.android.tools.build:gradle:3.5.0'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
...
...
example/discover_printers/android/gradle.properties
View file @
77c86ff6
org.gradle.jvmargs
=
-Xmx1536M
android.enableR8
=
true
android.useAndroidX
=
true
android.enableJetifier
=
true
example/discover_printers/android/gradle/wrapper/gradle-wrapper.properties
View file @
77c86ff6
...
...
@@ -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-
4.10
.2-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
5.6
.2-all.zip
example/discover_printers/ios/.gitignore
0 → 100644
View file @
77c86ff6
*.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/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
example/discover_printers/ios/Flutter/AppFrameworkInfo.plist
View file @
77c86ff6
...
...
@@ -3,7 +3,7 @@
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
CFBundleDevelopmentRegion
<
/k
e
y
>
<
string
>
en
<
/string
>
<
string
>
$
(
DEVELOPMENT_LANGUAGE
)
<
/string
>
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
App
<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
...
...
example/discover_printers/ios/Flutter/Flutter.podspec
deleted
100644 → 0
View file @
aae0cf7f
#
# NOTE: This podspec is NOT to be published. It is only used as a local source!
#
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'Flutter'
s
.
version
=
'1.0.0'
s
.
summary
=
'High-performance, high-fidelity mobile apps.'
s
.
description
=
<<-
DESC
Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.
DESC
s
.
homepage
=
'https://flutter.io'
s
.
license
=
{
:type
=>
'MIT'
}
s
.
author
=
{
'Flutter Dev Team'
=>
'flutter-dev@googlegroups.com'
}
s
.
source
=
{
:git
=>
'https://github.com/flutter/engine'
,
:tag
=>
s
.
version
.
to_s
}
s
.
ios
.
deployment_target
=
'8.0'
s
.
vendored_frameworks
=
'Flutter.framework'
end
example/discover_printers/ios/Flutter/flutter_export_environment.sh
deleted
100755 → 0
View file @
aae0cf7f
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export
"FLUTTER_ROOT=/Users/andrey/Documents/flutter"
export
"FLUTTER_APPLICATION_PATH=/Users/andrey/Documents/Tablemi_v2/flutter_pos_printer/esc_pos_printer/example/discover_printers"
export
"FLUTTER_TARGET=lib/main.dart"
export
"FLUTTER_BUILD_DIR=build"
export
"SYMROOT=
${
SOURCE_ROOT
}
/../build/ios"
export
"FLUTTER_FRAMEWORK_DIR=/Users/andrey/Documents/flutter/bin/cache/artifacts/engine/ios"
export
"FLUTTER_BUILD_NAME=1.0.0"
export
"FLUTTER_BUILD_NUMBER=1"
example/discover_printers/ios/Podfile
View file @
77c86ff6
...
...
@@ -33,6 +33,9 @@ def parse_KV_file(file, separator='=')
end
target
'Runner'
do
use_frameworks!
use_modular_headers!
# Flutter Pod
copied_flutter_dir
=
File
.
join
(
__dir__
,
'Flutter'
)
...
...
example/discover_printers/ios/Podfile.lock
View file @
77c86ff6
PODS:
- Flutter (1.0.0)
- flutter_bluetooth_basic (0.0.1):
- Flutter
- wifi (0.0.1):
- Flutter
DEPENDENCIES:
- Flutter (from `Flutter`)
- flutter_bluetooth_basic (from `.symlinks/plugins/flutter_bluetooth_basic/ios`)
- wifi (from `.symlinks/plugins/wifi/ios`)
EXTERNAL SOURCES:
Flutter:
:path: Flutter
flutter_bluetooth_basic:
:path: ".symlinks/plugins/flutter_bluetooth_basic/ios"
wifi:
:path: ".symlinks/plugins/wifi/ios"
SPEC CHECKSUMS:
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
flutter_bluetooth_basic: 0e4e27e22b50b3a25cc1d1e131953feb4af414f4
wifi: d7d77c94109e36c4175d845f0a5964eadba71060
PODFILE CHECKSUM:
3dbe063e9c90a5d7c9e4e76e70a821b9e2c1d271
PODFILE CHECKSUM:
1b66dae606f75376c5f2135a8290850eeb09ae83
COCOAPODS: 1.8.4
example/discover_printers/ios/Runner.xcodeproj/project.pbxproj
View file @
77c86ff6
This diff is collapsed.
Click to expand it.
example/discover_printers/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted
100644 → 0
View file @
aae0cf7f
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
IDEDidComputeMac32BitWarning
<
/k
e
y
>
<
tru
e
/
>
<
/
d
i
c
t
>
<
/plist
>
example/discover_printers/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
View file @
77c86ff6
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion =
"10
3
0"
LastUpgradeVersion =
"10
2
0"
version =
"1.3"
>
<BuildAction
parallelizeBuildables =
"YES"
...
...
example/discover_printers/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
deleted
100644 → 0
View file @
aae0cf7f
<?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>
BuildSystemType
</key>
<string>
Original
</string>
</dict>
</plist>
example/discover_printers/ios/Runner/AppDelegate.h
deleted
100644 → 0
View file @
aae0cf7f
#import <Flutter/Flutter.h>
#import <UIKit/UIKit.h>
@interface
AppDelegate
:
FlutterAppDelegate
@end
example/discover_printers/ios/Runner/AppDelegate.m
deleted
100644 → 0
View file @
aae0cf7f
#include "AppDelegate.h"
#include "GeneratedPluginRegistrant.h"
@implementation
AppDelegate
-
(
BOOL
)
application
:(
UIApplication
*
)
application
didFinishLaunchingWithOptions
:(
NSDictionary
*
)
launchOptions
{
[
GeneratedPluginRegistrant
registerWithRegistry
:
self
];
// Override point for customization after application launch.
return
[
super
application
:
application
didFinishLaunchingWithOptions
:
launchOptions
];
}
@end
example/discover_printers/ios/Runner/AppDelegate.swift
0 → 100644
View file @
77c86ff6
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
)
}
}
example/discover_printers/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
View replaced file @
aae0cf7f
View file @
77c86ff6
10.9 KB
|
W:
|
H:
10.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
example/discover_printers/ios/Runner/Base.lproj/Main.storyboard
View file @
77c86ff6
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"14490.70"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
colorMatched=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<device
id=
"retina5_5"
orientation=
"portrait"
>
<adaptation
id=
"fullscreen"
/>
</device>
<?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=
"14490.49"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"10085"
/>
</dependencies>
<scenes>
<!--Flutter View Controller-->
...
...
@@ -18,9 +14,9 @@
<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=
"
414"
height=
"736
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"
600"
height=
"600
"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB
"
/>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"calibratedWhite
"
/>
</view>
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"dkx-z0-nzr"
sceneMemberID=
"firstResponder"
/>
...
...
example/discover_printers/ios/Runner/Info.plist
View file @
77c86ff6
...
...
@@ -3,7 +3,7 @@
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
CFBundleDevelopmentRegion
<
/k
e
y
>
<
string
>
en
<
/string
>
<
string
>
$
(
DEVELOPMENT_LANGUAGE
)
<
/string
>
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
$
(
EXECUTABLE_NAME
)<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
...
...
example/discover_printers/ios/Runner/Runner-Bridging-Header.h
0 → 100644
View file @
77c86ff6
#import "GeneratedPluginRegistrant.h"
\ No newline at end of file
example/discover_printers/ios/Runner/main.m
deleted
100644 → 0
View file @
aae0cf7f
#import
<
Flutter
/
Flutter
.
h
>
#import
<
UIKit
/
UIKit
.
h
>
#import
"AppDelegate.h"
int
main
(
int
argc
,
char
*
argv
[])
{
@
autoreleasepool
{
return
UIApplicationMain
(
argc
,
argv
,
nil
,
NSStringFromClass
([
AppDelegate
class
]))
;
}
}
example/discover_printers/pubspec.yaml
View file @
77c86ff6
...
...
@@ -9,6 +9,7 @@ environment:
dependencies
:
flutter
:
sdk
:
flutter
cupertino_icons
:
^0.1.2
wifi
:
^0.1.5
ping_discover_network
:
^0.2.0+1
image
:
^2.1.4
...
...
@@ -16,13 +17,12 @@ dependencies:
path
:
../../
esc_pos_utils
:
^0.1.1
cupertino_icons
:
^0.1.2
dev_dependencies
:
flutter_test
:
sdk
:
flutter
flutter
:
uses-material-design
:
true
assets
:
-
assets/logo.png
-
assets/logo.png
\ No newline at end of file
example/discover_printers/test/widget_test.dart
View file @
77c86ff6
// import 'package:flutter/material.dart';
// import 'package:flutter_test/flutter_test.dart';
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
// import 'package:discover_printers/main.dart';
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:discover_printers/main.dart'
;
void
main
(
)
{
// testWidgets('Not implemented', (WidgetTester tester) async {});
testWidgets
(
'Counter increments smoke test'
,
(
WidgetTester
tester
)
async
{
// Build our app and trigger a frame.
await
tester
.
pumpWidget
(
MyApp
());
// Verify that our counter starts at 0.
expect
(
find
.
text
(
'0'
),
findsOneWidget
);
expect
(
find
.
text
(
'1'
),
findsNothing
);
// Tap the '+' icon and trigger a frame.
await
tester
.
tap
(
find
.
byIcon
(
Icons
.
add
));
await
tester
.
pump
();
// Verify that our counter has incremented.
expect
(
find
.
text
(
'0'
),
findsNothing
);
expect
(
find
.
text
(
'1'
),
findsOneWidget
);
});
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment