iOS: Add DoricFlexLayout to DoricLayouts
This commit is contained in:
@@ -45,6 +45,7 @@ typedef NS_ENUM(NSInteger, DoricLayoutType) {
|
||||
DoricVLayout = 2,
|
||||
DoricHLayout = 3,
|
||||
DoricScroller = 4,
|
||||
DoricFlexLayout = 5,
|
||||
};
|
||||
|
||||
typedef NS_ENUM(NSInteger, DoricLayoutSpec) {
|
||||
@@ -120,6 +121,8 @@ typedef NS_ENUM(NSInteger, DoricGravity) {
|
||||
|
||||
@property(nonatomic, assign) CGFloat totalLength;
|
||||
|
||||
@property(nonatomic, assign) NSDictionary *flexConfig;
|
||||
|
||||
- (instancetype)init;
|
||||
|
||||
- (void)measure:(CGSize)targetSize;
|
||||
|
||||
Reference in New Issue
Block a user