fromKey static method

Future<FlutterTexture> fromKey([
  1. GlobalKey<State<StatefulWidget>>? globalKey,
  2. int? mapping,
  3. int? wrapS,
  4. int? wrapT,
  5. int? magFilter,
  6. int? minFilter,
  7. int? format,
  8. int? type,
  9. int? anisotropy,
])

Implementation

static Future<FlutterTexture> fromKey([
  wid.GlobalKey? globalKey,
  int? mapping,
  int? wrapS,
  int? wrapT,
  int? magFilter,
  int? minFilter,
  int? format,
  int? type,
  int? anisotropy
]) async{
  final i = globalKey == null?null:await generateImageFromGlobalKey(globalKey);
  return FlutterTexture(i,mapping,wrapS,wrapT,magFilter,minFilter,format,type,anisotropy);
}