Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
webdev could not run for this project.
You have a dependency on `flutter` which is not supported for
flutter_web tech prev...
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license...
import 'dart:html';
class Sample {
Storage storage = window.localStorage;
Sample() {
storage["hoge"] = "huga";
storage["ho...
https://saketco-buy.firebaseapp.com/
Flutter for Webで値を保存する
Flutter for Webで値を保存する
Flutter for Webで値を保存する
Flutter for Webで値を保存する
Flutter for Webで値を保存する
Flutter for Webで値を保存する
Flutter for Webで値を保存する
Flutter for Webで値を保存する
Flutter for Webで値を保存する
Flutter for Webで値を保存する
Prochain SlideShare
Chargement dans…5
×

Flutter for Webで値を保存する

496 vues

Publié le

Flutter Meetup Tokyo #10で発表した内容です

Publié dans : Ingénierie
  • Soyez le premier à commenter

Flutter for Webで値を保存する

  1. 1. webdev could not run for this project. You have a dependency on `flutter` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details. You have a dependency on `shared_preferences` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details. pub finished with exit code 78
  2. 2. // Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter/services.dart'; import 'package:meta/meta.dart'; const MethodChannel _kChannel = MethodChannel('plugins.flutter.io/shared_preferences');
  3. 3. import 'dart:html'; class Sample { Storage storage = window.localStorage; Sample() { storage["hoge"] = "huga"; storage["hoge"]; // huga } }
  4. 4. https://saketco-buy.firebaseapp.com/

×