flutter_native_splash 2.4.0 copy "flutter_native_splash: ^2.4.0" to clipboard
flutter_native_splash: ^2.4.0 copied to clipboard

Customize Flutter's default white native splash screen with background color and splash image. Supports dark mode, full screen, and more.

[2.4.0] - (2024-Mar-17) #

[2.3.13] - (2024-Feb-18) #

[2.3.12] - (2024-Feb-18) #

  • Fix incorrect rejection of parameter values. Fixes #652.
  • Updated dependencies.

[2.3.11] - (2024-Feb-14) #

  • Updated dependencies.

[2.3.10] - (2024-Jan-28) #

  • Fixed parameter background_image_android. Fixes #652.
  • Exit process with error code when unexpected config provided in YAML. Thanks smit-ghl for PR #657.
  • Updated readme. Thanks Mercutio1243 for the suggestions. Closes #658.

[2.3.9] - (2023-Dec-31) #

  • Resolve lint warnings. Update readme.

[2.3.8] - (2023-Dec-07) #

  • Make functions private that should not be public.

[2.3.7] - (2023-Dec-06) #

  • Roll back web fade as it was a breaking change. Fixes #628. Fixes #627. Fixes #622.

[2.3.6] - (2023-Nov-20) #

  • Add fade between splash and app on web. Thanks eggp for the suggestion and example code. Closes #608.
  • Add check of parameter names to catch user typos in the parameters.

[2.3.5] - (2023-Oct-29) #

  • Remove white flash on web. Thanks eggp for pointing out the problem and solution. Closes #607.

[2.3.4] - (2023-Oct-16) #

  • Use average for image interpolation to reduce aliasing. Thanks Shawn for the tip. Fixes #598.

[2.3.3] - (2023-Oct-02) #

  • Updated dependencies.

[2.3.2] - (2023-Aug-13) #

  • Update the example.
  • Update the environment value in the pubspec.yaml.

[2.3.1] - (2023-Jun-04) #

  • Package speed up using Isolates to generate files at the same time. Thanks Vladimir for PR #558.
  • New command for generating all flavors at once: --flavors
  • Replaced deprecated 'flutter pub run' with 'dart run'. Thanks Aditya for PR #554.
  • Fix fullscreen switch not working for Android <12v in System.dark mode. Fixes #559.

[2.3.0] - (2023-May-15) #

[2.2.19] - (2023-Mar-05) #

  • Refresh the example with the latest version of Flutter.
  • Fix Notification bar incorrectly still showing on Xiaomi devices. Fixes #517.
  • Updated dependencies.

[2.2.18] - (2023-Feb-19) #

  • Remove v31/styles.xml files if not in use. Fixes #514.
  • Remove web changes on remove command. Fixes #516.

[2.2.17] - (2023-Jan-15) #

  • Updated image dependency to v4.0.10. Fixes #497.
  • Changed image processing from linear to cubic to improve image quality. Fixes #472.

[2.2.16] - (2022-Nov-27) #

  • Update documentation on Android 12.
  • Fix web background image. Thanks Severin for PR #459.
  • Support more image formats. Thanks Severin for PR #460.

[2.2.15] - (2022-Nov-20) #

  • Fix iOS background image build incorrectly when background dark image is used. Fixes #452, fixes #439.
  • Correct background image/color handling on web. Fixes #450, fixes 324.
  • Don't include dark styling in web if not specified in config. Fixes #453.
  • Add _Parameters class to hold parameters.

[2.2.14] - (2022-Nov-07) #

  • Don't update values-31 if there is no android_12 section in the config. Closes #447.
  • Additional fix for index.html getting extra blank lines. Fixes #430.

[2.2.13] - (2022-Oct-30) #

  • Corrected Android 12 dark parameters not defaulting to light parameters. Thanks elliotrtd for the heads up on this issue.

[2.2.12] - (2022-Oct-23) #

  • Updated readme and dependancies.
  • Add CI, resolve some lints, and fix tests. Thanks lsaudon for PR #433.

[2.2.11] - (2022-Oct-09) #

  • Fixed Android 11 color issue. Fixes #429.
  • Fix index.html getting extra blank lines. Fixes #430.
  • Update the readme. Closes #431.

[2.2.10+1] - (2022-Sep-25) #

  • Update bug report template.
  • Package housekeeping to stay up to date with Flutter.

[2.2.9] - (2022-Sep-07) #

  • Update pub.dev links. Thanks Joachim for PR #415.
  • Fix Android 12 branding issue. Thanks Matías for PR #414.
  • Corrected copyright notice. Closes #416.
  • Added Android 12 example. Closes #412.

[2.2.8] - (2022-Aug-21) #

  • Use Theme.Light.NoTitleBar. Fixes #402.
  • Correct android spelling in readme. Thanks Muhammad for PR #407.
  • Use html parser. Thanks OutdatedGuy for PR #396.
  • Separate branding property for Android 12. Closes #405.

[2.2.7] - (2022-July-31) #

  • Remove branding on Android 12 if branding is not specified. Fixes #399.

[2.2.6] - (2022-July-24) #

[2.2.5] - (2022-July-17) #

[2.2.4] - (2022-July-03) #

  • Added parameters for platform-specific images. Closes #375.
  • Remove black status bar which appeared on Android devices with a notch. Fixes #311.

[2.2.3+1] - (2022-June-12) #

  • Updated readme.

[2.2.3] - (2022-June-5) #

  • Create new storyboard file rather than try to modify existing file. Closes #369.
  • Reverted 2.1.6 change of using light settings for dark mode if omitted. Fixes #368.

[2.2.2] - (2022-May-29) #

  • Corrected Android 12 color overriding color parameter. Closes #365.
  • Add support for setting screen orientation in Android. Closes #344.

[2.2.1] - (2022-May-22) #

  • Updated dependencies. Closes #358.
  • Added Android 12 background color support. Closes #357.
  • Resolve exception that occurs when using remove command. Closes #355.

[2.2.0+1] - (2022-May-15) #

  • Added flavor support. Thanks Vladimir for PR #316! Closes #160.
  • Fix androidV31StylesXml not being generated when darkBackgroundImage is set. Thanks (Hallot)[https://github.com/Hallot] for PR #349.
  • Fix incorrect android_12 check for image_dark. Closes #347.
  • Fix Flutter v3 WidgetsBinding.Instance! Null check warning. Closes #351.

[2.1.6] - (2022-Apr-17) #

  • Use light settings for dark mode if dark mode settings are omitted.
  • Add ALT tag for web. Fixes #339.

[2.1.5] - (2022-Apr-10) #

[2.1.3+1] - (2022-Apr-03) #

  • Updated documentation. Closes #327.
  • remove correctly handles multiple plist files. Fixes #247.

[2.1.2+1] - (2022-Mar-27) #

  • Add branding support in Android 12. Thanks Vladimir for the PR.
  • Updated readme. Closes #317. Closes #318.
  • Don't create a blank branding image set. Fixes #264.

[2.1.1] - (2022-Mar-13) #

  • Fix for pixelated splash image on web. Fixes #263.

[2.1.0] - (2022-Mar-06) #

  • Expanded options for Android 12. Thanks Jose for the PR that served as a good starting point.

[2.0.5] - (2022-Feb-20) #

  • Converted to a plugin since there is now platform specific code.

[2.0.4] - (2022-Feb-15) #

  • Fix Error: Not found: 'dart:js' error. Fixes #292.

[2.0.3+1] - (2022-Feb-14) #

  • Added preserve() and remove() methods.
  • Remove splash from DOM in web.

[2.0.2] - (2022-Feb-07) #

  • Update existing styles xml to support Xiaomi/Redmi devices. Fixes #285, fixes #281.
  • Avoid changing logo size on mobile browsers. Fixes #276.

[2.0.1+1] - (2022-Jan-29) #

  • Provide BuildContext argument to the initialization function.

[2.0.0] - (2022-Jan-29) #

  • BREAKING CHANGE: Added removeAfter method which allows the native splash 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.

[1.3.3] - (2022-Jan-01) #

  • Merged PR that adds branding. Thanks Faiizii for PR. Closes #256.
  • Updated readme. Closes #258.
  • Fix so that the splash screen does not cover the app in web. Fixes 253.
  • Updates per linter rules.

[1.3.2] - (2021-Nov-28) #

  • Updated readme. Hide splash image in web from screen readers. Closes #231.

[1.3.1] - (2021-Oct-27) #

  • Don't create Android 12 night res files if dark mode is not configured. Fixes #227. Remove command takes dark mode into account.

[1.3.0] - (2021-Oct-26) #

  • Added Android 12 support. Closes #204, closes #226.

[1.2.4] - (2021-Sep-23) #

  • Updated readme. Thanks @j-j-gajjar for PR #216.
  • Remove references to background images in web when images are missing. Fixes #196.
  • Updated dependencies.

[1.2.3] - (2021-Sep-08) #

  • Reverted XML dependency to be compatible with stable Flutter branch. Closes #206.

[1.2.2] - (2021-Sep-06) #

  • Added a FAQ to address the deprecation of SplashScreenDrawable. Closes #199.
  • Added <picture> tag to index.html by finding the </body> tag instead of src="main.dart.js, which was removed in Flutter 2.5. Fixes #202.
  • Added <item name="android:forceDarkAllowed">false</item> tag to dark mode styles.xml to improve Xiaomi support. Closes #184.

[1.2.1] - (2021-Jul-19) #

  • Check the file type and exit with error if it is not a PNG.
  • Updated documentation with more FAQs.
  • Fixed bug that was preventing copying of images for web. Fixes #192.
  • Changed the example to show a secondary splash screen.
  • Check that android, web, and ios folders exist before updating respective splash screen.

[1.2.0] - (2021-Jun-09) #

  • Added beta support for Android 12. Closes #175.

[1.1.9] - (2021-Jun-09) #

[1.1.8+4] - (2021-Apr-20) #

  • Fixed bug that was preventing copying of dark background. Fixes #163.

[1.1.7+1] - (2021-Apr-02) #

  • flutter_native_splash:remove adheres to android/ios/web setting. Fixes #159.
  • Updated readme images.

[1.1.6+1] - (2021-Mar-29) #

[1.1.5+1] - (2021-Mar-23) #

  • Added unit tests.
  • Updated dependency.

[1.1.4+1] - (2021-Mar-18) #

  • Fixed bug that created duplicate android:windowFullscreen tags in styles.xml. Closes #147.
  • Fixed fullscreen in Android dark mode.
  • Print errors instead of throwing exceptions for cleaner output.
  • Added message for missing subviews in iOS LaunchScreen.storyboard. Fixes #146.
  • Removed duplicate exceptions for missing image file since that is now checked at package start.

[1.1.3] - (2021-Mar-18) #

  • Fixed bug that was giving error on copying background image. Closes #144.

[1.1.2] - (2021-Mar-17) #

  • Check that image files exist before starting. Throw an exception if image file not found.

[1.1.1+1] - (2021-Mar-16) #

  • Create Styles.css before writing to it. Closes #141
  • Make all file calls synchronously to make code cleaner.

[1.1.0] - (2021-Mar-15) #

  • Added option for background image. Closes #22.

[1.0.3] - (2021-Mar-05) #

  • Updated readme.

[1.0.2] - (2021-Mar-04) #

  • Added exception for missing/renamed splash image in LaunchScreen.storyboard.

[1.0.1+1] - (2021-Mar-02) #

  • Corrected location of picture tag in web to ensure that splash disappears. Thanks Dawid Dziurla.

[1.0.0] - (2021-Feb-19) #

  • Adds null safety. Closes #127.

[0.3.0] - (2021-Feb-10) #

  • Added support for web. Closes #30.
  • Updated the example app to include web.

[0.2.11] - (2021-Feb-09) #

  • Fixed remove command which was leaving splash images in place.

[0.2.10] - (2021-Feb-08) #

  • Replaced android_fullscreen with fullscreen parameter, adding iOS support. closes #75, closes #65.
  • The package no longer modifies the AppDelegate. Fixes #125, fixes #66.
  • Added remove command. Closes #97, closes #126.
  • Updated docs.

[0.2.9] - (2021-Jan-27) #

  • Correct iOS 2x scaling. Closes #27.
  • Fullscreen defaults to false. Closes #122.

[0.2.8] - (2021-Jan-25) #

  • Allow users to set Android gravity and iOS ContentMode directly.
  • Parse LaunchScreen.storyboard with XML package for more reliability.
  • Updated install instructions.
  • Fixes #18. Closes #63.

[0.2.7] - (2021-Jan-18) #

  • Added configuration parameter to specify the info.plist location(s).
  • Updated documentation.
  • Fixes #120, #42.

[0.2.6] - (2021-Jan-14) #

  • Added support for Android -v21 resource folders, which appear in the Flutter beta channel.
  • Parse launch_background.xml with XML package for more reliability.
  • Fixes #104, #118.

[0.2.5] - (2021-Jan-13) #

  • Handle color parameter that are passed as integers. Fixes #103

[0.2.4] - (2021-Jan-12) #

  • Update code that adds fullscreen mode to Android so that it selects the right style (LaunchTheme) in styles.xml. This should resolve #39, #54, #67, #92, #112, and #117.
  • Removed code that modifies MainActivity as it is not longer needed since Flutter embedding V2 uses two styles in styles.xml so full screen is set independently in the style.

[0.2.3] - (2021-Jan-11) #

  • Further modifications to raise pub points: The public API's need to have dartdoc comments, so all public declarations that did not need to be public were changed to private. Added doc comments for public APIs.

[0.2.2] - (2021-Jan-09) #

[0.2.1] - (2021-Jan-08) #

[0.2.0+1] - (2021-Jan-08) #

  • Updated version number in README.md (thanks @M123-dev)

[0.2.0] - (2021-Jan-07) #

  • Added dark mode.

[0.1.9] - #

  • (2020-Jan-27) Added createSplashByConfig for external usage
  • (2020-Jan-05) Fix run the package command (thanks @tenhobi)
  • (2019-Oct-31) Removing comments from the example (thanks @lucalves)
  • (2019-Oct-16) image parameter is now optional (#26)

[0.1.8+4] - (12th October 2019) #

  • Fix bug on RegEx preventing package tag from being found in AndroidManifest.xml (#25)

[0.1.8+3] - (4th October 2019) #

  • Prevent unhandled int exception in color argument (thanks @wemersonrv - PR #23)

[0.1.8+2] - (16th September 2019) #

  • Fix code being added multiple times to MainActivity (#19)

[0.1.8+1] - (16th September 2019) #

  • Documentation improvements

[0.1.8] - (16th September 2019) #

  • Added fill property to use full screen images on Android (thanks @Bwofls2 - PR #8)
  • Added android_disable_fullscreen property to disable opening app in full screen on Android (#14)
  • Status bar color on Android is now generated dynamically by using same principles as Material Design (thanks @yiss - PR #16)

[0.1.7+2] - (1th September 2019) #

  • Fix a bug on minSdkVersion reading (#13)

[0.1.7+1] - (1th September 2019) #

  • Check for minSdkVersion >= 21 to add code for changing status bar color to transparent (#12)

[0.1.7] - (27th August 2019) #

  • Fix a bug that duplicates entries on Info.plist when using multiple </dict> on iOS (#5)
  • Fix missing imports on MainActivity when not using default class signature (#7)

[0.1.6+2] - (27th August 2019) #

  • Yup, I released a new version because a quote was missing

[0.1.6+1] - (27th August 2019) #

  • Updated README.md adding quotes on color property
  • Add support for colors with # prefix

[0.1.6] - (26th August 2019) #

  • Fix bug where MainActivity file could not be found with custom package names

[0.1.5] - (26th August 2019) #

  • Add support for Kotlin
  • Add support for Swift
  • Add await to every step to create splash screen on Android and iOS to prevent async steps causing error

[0.1.4] - (25th August 2019) #

  • Fix code style issues pointed by dartanalzyer
  • Fix typo in README.md

[0.1.3] - (25th August 2019) #

  • Update README.md

[0.1.2] - (25th August 2019) #

  • Fix Travis CI filename

[0.1.1] - (25th August 2019) #

  • Added Travis CI and updates to README.md

[0.1.0] - (25th August 2019) #

  • Initial release: generate Android and iOS splash screens with a background color and an image
7395
likes
140
pub points
100%
popularity
screenshot

Publisher

verified publisherjonhanson.net

Customize Flutter's default white native splash screen with background color and splash image. Supports dark mode, full screen, and more.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

ansicolor, args, flutter, flutter_web_plugins, html, image, meta, path, universal_io, xml, yaml

More

Packages that depend on flutter_native_splash