• Hixie's avatar
    Enable Positioned to be animated. · fb8fe97a
    Hixie authored
    Add a AnimatedRelativeRectValue class for animating RelativeRects.
    
    Add a PositionedTransition class for animating Positioned using
    AnimatedRelativeRectValues.
    
    Add a test for PositionedTransition.
    
    Fix a math bug a RelativeRect found by the test.
    
    Fix a logic bug in the two ParentDataWidget classes found by the test.
    Specifically, they were marking the child dirty, rather than the parent.
    The parentData is for the parent's layout, not the child's, so they have
    to mark the parent dirty. (I didn't hoist this up to the superclass
    because ParentData could be used for painting, hit testing,
    accessibility, or any number of other things, and I didn't want to bake
    in the assumption that it needed markNeedsLayout.)
    fb8fe97a
Name
Last commit
Last update
..
animation Loading commit data...
engine Loading commit data...
examples Loading commit data...
gestures Loading commit data...
harness Loading commit data...
painting Loading commit data...
rendering Loading commit data...
services Loading commit data...
widget Loading commit data...