Lukas Gaucasvanillacamp.hashnode.dev·Apr 17, 2024Dart in Practice : Native messaging host implementation (Windows-users oriented)I have not posted for ages, sorry for that, actually I was actively working on my own solo educational project by the name of Cosmos (the name is subject to change), and had the issue working with IndexedDB effectively, so for the past few weeks I've...Discussnative messaging host
Arjun mahararjun-mahar.hashnode.dev·Apr 14, 2024Practical Flutter Extensions for Real-World DevelopmentYou have already read many articles on “What are extensions in Flutter.” Here, I am providing you with a list of useful extensions that I use in my projects. I have categorized all extensions based on types. BuildContext extensions: showSnackbar — S...DiscussFlutter
Jeet Bhalujeetbhalu.hashnode.dev·Apr 8, 2024Dart : Typedef Keyword :Typedef Keyword : In Dart, the typedef is used to generate an alias for function type that we can use it as type annotation for declaring variables and return types of that function type. An alias of function type can be used as type annotation in v...DiscussDevOps Journey
Jeet Bhalujeetbhalu.hashnode.dev·Apr 8, 2024Dart : Assert statement | AssertionsAssert Statement : During development, use an assert statement— assert(<condition>, <optionalMessage>); —to disrupt normal execution if a boolean condition is false. // Make sure the variable has a non-null value. assert(text != null); // Ma...DiscussDart
Jeet Bhalujeetbhalu.hashnode.dev·Apr 8, 2024Dart Exceptions : Throw Keyword | Writing Custom ExceptionsThrow Keyword : The throw keyword is used to explicitly raise an exception. A raised exception should be handled to prevent the program from exiting abruptly. Syntax : throw new Exception_name() Example : main() { try { test_age...DiscussDart
Jeet Bhalujeetbhalu.hashnode.dev·Apr 8, 2024Dart Exception : Finally ClauseFinally clause : To ensure that some code runs whether or not an exception is thrown, use a finally clause. If no catch clause matches the exception, the exception is propagated after the finally clause runs: try { breedMoreLlamas(); } fina...DiscussDart
Jeet Bhalujeetbhalu.hashnode.dev·Apr 8, 2024Dart Error or Exceptions Handling : Errors & Exceptions in Dart | Dart Exceptions Handling in Dart | try and on ClouseError handling : Exceptions : Your Dart code can throw and catch exceptions. Exceptions are errors indicating that something unexpected happened. If the exception isn't caught, the isolate that raised the exception is suspended, and typically the i...DiscussDart
Jeet Bhalujeetbhalu.hashnode.dev·Apr 8, 2024Dart DebuggingDebugging : Every now and then, developers commit mistakes while coding. A mistake in a program is referred to as a bug. The process of finding and fixing bugs is called debugging and is a normal part of the development process. This section cove...DiscussDart
Jinali Ghogharijinali.hashnode.dev·Apr 8, 2024Dart PackagesIn simple terms, Dart packages are collections of reusable code that are created by developers to help others solve common problems or perform specific tasks when building applications with the Dart programming language. Think of Dart packages like t...DiscussDartDart
Jeet Bhalujeetbhalu.hashnode.dev·Apr 8, 2024Dart Error HandlingError Handling : Exceptions : Your Dart code can throw and catch exceptions. Exceptions are errors indicating that something unexpected happened. If the exception isn't caught, the isolate that raised the exception is suspended, and typically the...DiscussDart