update formatting
This commit is contained in:
@@ -3,5 +3,4 @@ import 'package:flutter/widgets.dart';
|
|||||||
/// A signature for a callback which exposes an error and returns a function.
|
/// A signature for a callback which exposes an error and returns a function.
|
||||||
/// This Callback can be used in cases where an API failure occurs and the widget
|
/// This Callback can be used in cases where an API failure occurs and the widget
|
||||||
/// is unable to render data.
|
/// is unable to render data.
|
||||||
typedef ErrorBuilder = Widget Function(
|
typedef ErrorBuilder = Widget Function(BuildContext context, Object error);
|
||||||
BuildContext context, Object error);
|
|
||||||
|
|||||||
Reference in New Issue
Block a user