Frame constructor

Frame(
  1. Rect bounds,
  2. String _title, {
  3. Color? titleColor,
  4. Color? borderColor,
  5. Color? background,
  6. int padding = 0,
})

Implementation

Frame(Rect bounds, this._title,
    {this.titleColor, Color? borderColor, Color? background, int padding = 0})
    : super(bounds,
          border: PanelBorder.frame,
          borderColor: borderColor,
          background: background,
          padding: padding);