Book Image

DART Cookbook

By : Ivo Balbaert
Book Image

DART Cookbook

By: Ivo Balbaert

Overview of this book

If you are a Dart developer looking to sharpen your skills, and get insight and tips on how to put that knowledge into practice, then this book is for you. You should also have a basic knowledge of HTML, and how web applications with browser clients and servers work, in order to build dynamic Dart applications.
Table of Contents (13 chapters)
12
Index

Chapter 5. Handling Web Applications

In this chapter, we will cover the following recipes:

  • Responsive design
  • Sanitizing HTML
  • Using a browser's local storage
  • Using an application cache to work offline
  • Preventing an onSubmit event from reloading the page
  • Dynamically inserting rows in an HTML table
  • Using CORS headers
  • Using keyboard events
  • Enabling drag-and-drop
  • Enabling touch events
  • Creating a Chrome app
  • Structuring a game project
  • Using WebGL in your app
  • Authorizing OAuth2 to Google services
  • Talking with JavaScript
  • Using JavaScript libraries