Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flutter_boost_1.22.4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
flutter_boost_1.22.4
Commits
e5648b3c
Commit
e5648b3c
authored
Aug 30, 2019
by
yangwu.jia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改pub库的名字
parent
da97f5a5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
34 deletions
+5
-34
example/android/app/src/main/java/com/taobao/idlefish/flutterboostexample/MyApplication.java
...om/taobao/idlefish/flutterboostexample/MyApplication.java
+1
-1
example/lib/main.dart
example/lib/main.dart
+1
-30
example/lib/simple_page_widgets.dart
example/lib/simple_page_widgets.dart
+1
-1
example/pubspec.yaml
example/pubspec.yaml
+1
-1
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
example/android/app/src/main/java/com/taobao/idlefish/flutterboostexample/MyApplication.java
View file @
e5648b3c
...
...
@@ -45,7 +45,7 @@ public class MyApplication extends FlutterApplication {
return
new
BoostFlutterEngine
(
context
,
new
DartExecutor
.
DartEntrypoint
(
context
.
getResources
().
getAssets
(),
FlutterMain
.
findAppBundlePath
(
context
),
"main
2
"
),
"/"
);
"main"
),
"/"
);
}
};
}
...
...
example/lib/main.dart
View file @
e5648b3c
import
'package:flutter/material.dart'
;
import
'package:flutter_boost
2
/flutter_boost.dart'
;
import
'package:flutter_boost/flutter_boost.dart'
;
import
'simple_page_widgets.dart'
;
void
main
(
)
{
runApp
(
MyApp
());
}
void
main2
(
)
{
print
(
"terry run main2"
);
runApp
(
MyApp
());
}
class
MyApp
extends
StatefulWidget
{
@override
_MyAppState
createState
()
=>
_MyAppState
();
...
...
@@ -46,29 +41,5 @@ class _MyAppState extends State<MyApp> {
void
_onRoutePushed
(
String
pageName
,
String
uniqueId
,
Map
params
,
Route
route
,
Future
_
)
{
// List<OverlayEntry> newEntries = route.overlayEntries
// .map((OverlayEntry entry) => OverlayEntry(
// builder: (BuildContext context) {
// final pageWidget = entry.builder(context);
// return Stack(
// children: <Widget>[
// pageWidget,
// Positioned(
// child: Text(
// "pageName:$pageName\npageWidget:${pageWidget.toStringShort()}",
// style: TextStyle(fontSize: 12.0, color: Colors.red),
// ),
// left: 8.0,
// top: 8.0,
// )
// ],
// );
// },
// opaque: entry.opaque,
// maintainState: entry.maintainState))
// .toList(growable: true);
//
// route.overlayEntries.clear();
// route.overlayEntries.addAll(newEntries);
}
}
example/lib/simple_page_widgets.dart
View file @
e5648b3c
import
'package:flutter/material.dart'
;
import
'package:flutter_boost
2
/flutter_boost.dart'
;
import
'package:flutter_boost/flutter_boost.dart'
;
class
FirstRouteWidget
extends
StatelessWidget
{
@override
...
...
example/pubspec.yaml
View file @
e5648b3c
...
...
@@ -25,7 +25,7 @@ dev_dependencies:
flutter_test
:
sdk
:
flutter
flutter_boost
2
:
flutter_boost
:
path
:
../
# For information on the generic Dart part of this file, see the
...
...
pubspec.yaml
View file @
e5648b3c
name
:
flutter_boost
2
name
:
flutter_boost
description
:
A next-generation Flutter-Native hybrid solution. FlutterBoost is a Flutter plugin which enables hybrid integration of Flutter for your existing native apps with minimum efforts.
version
:
0.0.411
author
:
Alibaba Xianyu
...
...
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