-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Added removeAfter method which allows the native spl…
…ash to remain until an initialization routine is complete. In order to use this method, the flutter_native_splash dependency must be moved from dev_dependencies to dependencies. Thanks Ahmed for the tip. Closes #271.
- Loading branch information
1 parent
5fcab74
commit c1bdae0
Showing
25 changed files
with
349 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="create" type="DartCommandLineRunConfigurationType" factoryName="Dart Command Line Application"> | ||
<option name="filePath" value="$PROJECT_DIR$/bin/create.dart" /> | ||
<option name="workingDirectory" value="$PROJECT_DIR$/example" /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="remove" type="DartCommandLineRunConfigurationType" factoryName="Dart Command Line Application"> | ||
<option name="filePath" value="$PROJECT_DIR$/bin/remove.dart" /> | ||
<option name="workingDirectory" value="$PROJECT_DIR$/example" /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
import 'package:args/args.dart'; | ||
import 'package:flutter_native_splash/flutter_native_splash.dart' | ||
as flutter_native_splash; | ||
import 'package:flutter_native_splash/cli_commands.dart'; | ||
|
||
void main(List<String> args) { | ||
var parser = ArgParser(); | ||
parser.addOption('path', | ||
callback: (path) => {flutter_native_splash.createSplash(path: path)}); | ||
parser.addOption('path', callback: (path) => {createSplash(path: path)}); | ||
parser.parse(args); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
import 'package:args/args.dart'; | ||
import 'package:flutter_native_splash/flutter_native_splash.dart' | ||
as flutter_native_splash; | ||
import 'package:flutter_native_splash/cli_commands.dart'; | ||
|
||
void main(List<String> args) { | ||
var parser = ArgParser(); | ||
parser.addOption('path', | ||
callback: (path) => {flutter_native_splash.removeSplash(path: path)}); | ||
parser.addOption('path', callback: (path) => {removeSplash(path: path)}); | ||
parser.parse(args); | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.