macos_dock_progress 1.1.0 copy "macos_dock_progress: ^1.1.0" to clipboard
macos_dock_progress: ^1.1.0 copied to clipboard

PlatformmacOS

An API wrapper of DockProgress for Flutter, make you able to interacting with macOS dock icon progress bars in Flutter.

pub documentation

An API wrapper of DockProgress for Flutter, make you able to interacting with macOS dock icon progress bars in Flutter.

Usage #

See example.

Command SwiftCompile failed #

If you are experiencing Swift compile failed issues, please follow the instructions below.

Config macOS deployment target (MACOSX_DEPLOYMENT_TARGET) for Pod #

# macos/Podfile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_macos_build_settings(target)

    # Add lines below
    target.build_configurations.each do |config|
      config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.14' # >=10.13
    end
  end
end

Disable Swift compiler optimization #

  1. Open macos/Runner.xcodeproj in Xcode
  2. Navigate to Runner > Build Settings > Swift Compiler - Code Generation
  3. Set Optimization Level to No Optimization [-Onone]
3
likes
160
pub points
24%
popularity

Publisher

verified publishernightfeather.dev

An API wrapper of DockProgress for Flutter, make you able to interacting with macOS dock icon progress bars in Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on macos_dock_progress