This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef UTILS_H | |
| #define UTILS_H | |
| void print_result(const char *operations, double result); | |
| double read_input(const char *prompt); | |
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef MATH_UTILS_H | |
| #define MATH_UTILS_H | |
| double add(double a, double b); | |
| double multiply(double a, double b); | |
| double subtract(double a, double b); | |
| double division(double a, double b); | |
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: authentication | |
| description: Medium todo app authentication module. | |
| publish_to: none | |
| version: 1.0.0+1 | |
| environment: | |
| sdk: '>=3.3.1 <4.0.0' | |
| dependencies: | |
| cloud_firestore: ^4.15.9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| { | |
| "nvim-telescope/telescope.nvim", | |
| tag = "0.1.5", | |
| dependencies = { "nvim-lua/plenary.nvim" }, | |
| config = function() | |
| local builtin = require("telescope.builtin") | |
| vim.keymap.set("n", "<leader>o", builtin.find_files, {}) | |
| vim.keymap.set("n", "<leader>fg", builtin.live_grep, {}) | |
| end, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| "akinsho/flutter-tools.nvim", | |
| lazy = false, | |
| dependencies = { | |
| "nvim-lua/plenary.nvim", | |
| "stevearc/dressing.nvim", -- optional for vim.ui.select | |
| }, | |
| config = function() | |
| vim.keymap.set("n", "<leader>FS", ":FlutterRun <CR>", {}) | |
| vim.keymap.set("n", "<leader>FQ", ":FlutterQuit <CR>", {}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| { | |
| "williamboman/mason.nvim", | |
| config = function() | |
| require("mason").setup() | |
| end, | |
| }, | |
| { | |
| "williamboman/mason-lspconfig.nvim", | |
| lazy = false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| "akinsho/flutter-tools.nvim", | |
| lazy = false, | |
| dependencies = { | |
| "nvim-lua/plenary.nvim", | |
| "stevearc/dressing.nvim", -- optional for vim.ui.select | |
| }, | |
| config = true, | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_bloc/flutter_bloc.dart'; | |
| import 'package:todo_app/domain/database_services.dart'; | |
| import 'package:todo_app/presentation/home.dart'; | |
| void main() => runApp(const TodoApp()); | |
| class TodoApp extends StatelessWidget { | |
| const TodoApp({super.key}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_bloc/flutter_bloc.dart'; | |
| import 'package:todo_app/data/todo.dart'; | |
| import 'package:todo_app/domain/bloc/todo/todo_bloc.dart'; | |
| class TodoCard extends StatelessWidget { | |
| const TodoCard({super.key, required this.todo}); | |
| final Todo todo; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_bloc/flutter_bloc.dart'; | |
| import 'package:todo_app/domain/bloc/todo/todo_bloc.dart'; | |
| class NewTodoCard extends StatefulWidget { | |
| const NewTodoCard({super.key}); | |
| @override | |
| State<NewTodoCard> createState() => _NewTodoCardState(); | |
| } |