// Copyright 2015 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.part ofdart_ui;/// Linearly interpolate between two numbers.numlerpDouble(numa,numb,doublet){if(a==null&&b==null)returnnull;if(a==null)a=0.0;if(b==null)b=0.0;returna+(b-a)*t;}