desktop_docker 1.0.2 icon indicating copy to clipboard operation
desktop_docker: ^1.0.2 copied to clipboard

Makes a nice Docker for web desktop.

TODO: Put a short description of the package here that helps potential users know whether this package might be useful for them.

Usage #

  • User controller for controlling docker
  DockController<FileType> dockController = DockController<FileType>(dockerItems, _onDockerItemClicked);
  • Docker Icons List
  • Place your docker icon assets into "assets/icons/" and use the asset name only;
  • Use png image
   var dockerItems = [
  DockItem("Video Player", FileType.CALCULATOR,true,'ic_calculator'),
  DockItem("PDF Reader", FileType.GAME,true,'ic_game'),
  DockItem("HTML Reader", FileType.FOLDER,true,'folder'),
  DockItem("File Tree App", FileType.PAINTER,true,'ic_paint'),
];
  • Use enum for define fileType
enum FileType {
  FOLDER,
  CALCULATOR,
  PAINTER,
  GAME,
};

  • Use Dock Widget
   Dock(controller: dockController);

4
likes
100
pub points
35%
popularity

Publisher

unverified uploader

Makes a nice Docker for web desktop.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on desktop_docker