0 purchases
desktop docker
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);
copied to clipboard
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'),
];
copied to clipboard
Use enum for define fileType
enum FileType {
FOLDER,
CALCULATOR,
PAINTER,
GAME,
};
copied to clipboard
Use Dock Widget
Dock(controller: dockController);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.