return {
	"nvim-flutter/flutter-tools.nvim",
	lazy = false,
	dependencies = {
		"nvim-lua/plenary.nvim",
		-- "stevearc/dressing.nvim", -- optional for vim.ui.select
	},
	config = function()
		require("flutter-tools").setup({
			-- (uncomment below line for windows only)
			-- flutter_path = "home/flutter/bin/flutter.bat",

			flutter_path = "/home/llinde/development/flutter/bin/flutter", -- <-- this takes priority over the lookup
			-- flutter_lookup_cmd = "dirname $(which flutter)", -- example "dirname $(which flutter)" or "asdf where flutter"
			-- lsp = {
			-- 	cmd = { "/usr/lib/flutter/bin/cache/dart-sdk/bin/dart", "language-server", "--protocol=lsp" },
			-- },
			debugger = {
				-- make these two params true to enable debug mode
				enabled = true,
				run_via_dap = true,
				register_configurations = function(_)
					require("dap").adapters.dart = {
						type = "executable",
						command = vim.fn.stdpath("data") .. "/mason/bin/dart-debug-adapter",
						args = { "flutter" },
					}

					require("dap").configurations.dart = {
						{
							type = "dart",
							request = "launch",
							name = "Launch flutter",
							dartSdkPath = "home/flutter/bin/cache/dart-sdk/",
							flutterSdkPath = "home/flutter",
							program = "${workspaceFolder}/lib/main.dart",
							cwd = "${workspaceFolder}",
						},
					}
					-- uncomment below line if you've launch.json file already in your vscode setup
					-- require("dap.ext.vscode").load_launchjs()
				end,
			},
			dev_log = {
				-- toggle it when you run without DAP
				enabled = false,
				open_cmd = "tabedit",
			},
		})
	end,
}
