platform_info 4.0.2 copy "platform_info: ^4.0.2" to clipboard
platform_info: ^4.0.2 copied to clipboard

Contains info about current platform such as Build mode and Operating system.

4.0.2 - 2023-06-30 #

  • Fix topics

4.0.1 - 2023-06-30 #

  • Update README.md
  • Refactoring

4.0.0 - 2023-05-13 #

Changed #

  • Dart 3.0.0 ready

3.2.0 - 2022-05-19 #

Fixed #

  • Linux is desktop platform now

3.1.0 - 2021-05-29 #

Added #

  • Extensions for enums BuildMode, HostPlatformType, OperatingSystem

3.0.0 - 2021-03-27 #

Changed #

  • Non nullable ready
  • Refactoring

3.0.0-nullsafety.2 - 2021-03-24 #

Added #

  • Add some badges

3.0.0-nullsafety.1 - 2021-02-19 #

Changed #

  • Non nullable ready

2.2.0 - 2020-11-20 #

Changed #

  • Add when feature

2.1.0 - 2020-10-18 #

Changed #

  • Fix kListOSWithCupertinoDesign constant and isCupertino flag

2.0.1 - 2020-09-06 #

Added #

  • Add getters:
    • isWeb - Is a web-based applications
    • isIO - Is a I/O supporting for non-web applications

2.0.0 - 2020-08-28 #

Added #

  • Add global getter platform
  • operating system check
  • Three short form to access the instance of Platform
    • Platform.instance
    • Platform.I
    • platform

Changed #

  • refactoring and new lints (pedantic + effective dart)

Removed #

  • Removed toJson() method from Platform
  • Remove default factory Platform()

1.1.1+3 - 2020-04-25 #

Changed #

  • Fix analysis options

1.1.1+2 - 2020-04-25 #

Removed #

  • Disable most dev dependencies

1.1.1+1 - 2020-04-23 #

Added #

  • Add logo image

1.1.1 - 2020-04-23 #

Added #

  • Cashed flags
  • Add toJson() method

1.1.0 - 2020-04-23 #

Added #

  • Add new flags:
    • isDesktop
    • isMaterial
    • isCupertino

1.0.1 - 2020-04-22 #

Changed #

  • Update badge and readme

1.0.0 - 2020-04-22 #

Added #

  • Initial Version of the library.
105
likes
140
points
11.3k
downloads
screenshot

Publisher

verified publisherplugfox.dev

Weekly Downloads

Contains info about current platform such as Build mode and Operating system.

Homepage
Repository (GitHub)
View/report issues

Topics

#platform #info #cross-platform #device #information

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com
www.patreon.com
boosty.to

License

MIT (license)

Dependencies

meta

More

Packages that depend on platform_info