getErrorWidget method

Widget getErrorWidget(
  1. BuildContext context
)

Implementation

Widget getErrorWidget(BuildContext context) {
  return Container(
    padding: EdgeInsets.fromLTRB(0, 150, 0, 0),
    color: Theme.of(context).scaffoldBackgroundColor,
    width: double.infinity,
    height: double.infinity,
    child: Center(
      child: InkWell(
        onTap: onClickErrorWidget,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.start,
          children: <Widget>[
            Container(
                margin: EdgeInsets.fromLTRB(0, 10, 0, 0),
                child: Text(_tipTitle,
                    style: TextStyle(fontWeight: _fontWidget))),
          ],
        ),
      ),
    ),
  );
}