Flutter Engine
FlutterTextPosition Class Reference

#import <FlutterTextInputPlugin.h>

Inheritance diagram for FlutterTextPosition:

Instance Methods

(instancetype) - initWithIndex:
 

Class Methods

(instancetype) + positionWithIndex:
 

Properties

NSUInteger index
 

Detailed Description

An indexed position in the buffer of a Flutter text editing widget.

Definition at line 31 of file FlutterTextInputPlugin.h.

Method Documentation

◆ initWithIndex:()

- (instancetype) initWithIndex: (NSUInteger)  index

Definition at line 408 of file FlutterTextInputPlugin.mm.

References index.

408  :(NSUInteger)index {
409  self = [super init];
410  if (self) {
411  _index = index;
412  }
413  return self;
414 }

◆ positionWithIndex:()

+ (instancetype) positionWithIndex: (NSUInteger)  index

Definition at line 404 of file FlutterTextInputPlugin.mm.

Referenced by FlutterTextRange::rangeWithNSRange:.

404  :(NSUInteger)index {
405  return [[[FlutterTextPosition alloc] initWithIndex:index] autorelease];
406 }

Property Documentation

◆ index

- (NSUInteger) index
readnonatomicassign

Definition at line 33 of file FlutterTextInputPlugin.h.

Referenced by initWithIndex:.


The documentation for this class was generated from the following files: