desktop_docker 1.0.1 desktop_docker: ^1.0.1 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.
Features #
TODO: List what your package can do. Maybe include images, gifs, or videos.
Getting started #
TODO: List prerequisites and provide or point to information on how to start using the package.
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);
Additional information #
TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.