Solution Code + a few extra notes:
https://fluttered.substack.com/p/dart...
Are you ready to take your Dart and Flutter skills to the next level? Then join us for the latest installment in the Dart Coding Challenge series! And if you haven't already tackled the previous challenges, now's the time to jump in - they're a fantastic way to build up your expertise and discover some clever ways to accomplish tasks that are unique to Dart and Flutter.
Introducing our newest challenge: "Word Counter"! We're putting your coding skills to the test by asking you to prompt the user for a block of text, and we'll return the number of sentences and words it contains. It may sound easy, but trust us, there are some surprising and creative ways to approach this challenge using Dart and Flutter. So, are you up for the challenge? Let's get coding!
Project Specifications
- A command line application that welcomes users to the application, prompts them to enter a body of text that contains at least two words and one sentence.
- Calculate how many individual words and sentences are in their body of text.
- Calculate the number of individual words and sentences in their body of text and return it to them.
- Consider the following characters as the end of a sentence: ! ? .
- Treat the following characters as the end of a word: space, comma, colon, or semicolon.
Want some other challenges? Check out our "Dart Coding Challenge" playlist:
• DART Coding Challenges
Want to learn Dart? Check out our "Beginner Dart" playlist:
• Phase 1 - Learn Dart
Chapters:
00:00 - Introduction
00:16 - The Challenge
00:58 - Project Specifications
02:56 - Hints
04:37 - Solution 1
10:20 - Solution 2
Watch video Dart Coding Challenge 3 - Word Counter || Dart & Flutter Tutorial online without registration, duration hours minute second in high quality. This video was added by user FlutterED - Learn Flutter and Dart 24 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 238 once and liked it 7 people.