Flutter Engine
The Flutter Engine
shell
platform
darwin
ios
framework
Source
FlutterRestorationPlugin.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERRESTORATIONPLUGIN_H_
6
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERRESTORATIONPLUGIN_H_
7
8
#import <UIKit/UIKit.h>
9
10
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterChannels.h"
11
12
@interface
FlutterRestorationPlugin
: NSObject
13
- (instancetype)
init
NS_UNAVAILABLE
;
14
+ (instancetype)new
NS_UNAVAILABLE
;
15
- (instancetype)initWithChannel:(
FlutterMethodChannel
*)channel
16
restorationEnabled:(
BOOL
)waitForData NS_DESIGNATED_INITIALIZER;
17
18
@property
(nonatomic,
copy
) NSData*
restorationData
;
19
- (void)
markRestorationComplete
;
20
- (void)
reset
;
21
@end
22
#endif
// FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERRESTORATIONPLUGIN_H_
reset
m reset()
copy
static void copy(void *dst, const uint8_t *src, int width, int bpp, int deltaSrc, int offset, const SkPMColor ctable[])
Definition:
SkSwizzler.cpp:31
FlutterMethodChannel
Definition:
FlutterChannels.h:221
FlutterRestorationPlugin
Definition:
FlutterRestorationPlugin.h:13
FlutterRestorationPlugin::restorationData
NSData * restorationData
Definition:
FlutterRestorationPlugin.h:18
-[FlutterRestorationPlugin markRestorationComplete]
void markRestorationComplete()
Definition:
FlutterRestorationPlugin.mm:66
NS_UNAVAILABLE
instancetype init NS_UNAVAILABLE
Definition:
FlutterTextInputPlugin.h:169
SkOpts::init
static bool init()
Definition:
SkBitmapProcState_opts.cpp:26
BOOL
int BOOL
Definition:
windows_types.h:37
Generated on Sun Jun 23 2024 21:55:12 for Flutter Engine by
1.9.4