getContent method

Widget getContent()

Implementation

Widget getContent() {

  var stack =  Stack( children: [

    //size
    EmptyView.colored( width , height,  colorBackground!),

    /**
     * why make mode "aspectRation" behind the mode "background" ?
     *    - answer: i use the asset of "aspectRatio" as the placeholder
     */
    Align( child: getViewMode_aspectRatio(), alignment: Alignment.center  ),

    //image
    getViewMode_background()


  ],);

  var  sizeBox = SizedBox(child:  stack, width: width, height: height );
  return sizeBox;
}