MethodBuilder.data constructor
MethodBuilder.data({
- Key? key,
- required String route,
- required List<
String> map, - required String apiUrl,
- Future<
List< ? method,List< >String> > - Image? mediaPreviewBuilder()?,
- Encoding? postBody,
- double? borderRadius,
- Widget widgetBuilder()?,
- double? widthFactor,
- IconData? icon,
- String? token,
- BoxDecoration? boxDecoration,
- EdgeInsets? padding,
- EdgeInsets? margin,
- Widget iconBuilder()?,
- WidgetType? type = WidgetType.data,
MethodBuilder.data returns very basic descriptive widget uses Title, Subtitle, Description, Icon and many more
Implementation
MethodBuilder.data({
super.key,
required this.route,
required this.map,
required this.apiUrl,
this.method,
this.mediaPreviewBuilder,
this.postBody,
this.borderRadius,
this.widgetBuilder,
this.widthFactor,
this.icon,
this.token,
this.boxDecoration,
this.padding,
this.margin,
this.iconBuilder,
this.type = WidgetType.data,
});