HelloPluginWindows

extends

HelloPluginPlatform

/// Registers this class as the default instance of [HelloPluginPlatform].

static

void

registerWith

()

HelloPluginPlatform

instance

HelloPluginWindows

();

Hybrid platform implementations

Platform implementations can also use both Dart and a platform-specific
language. For example, a plugin could use a different platform channel
for each platform so that the channels can be customized per platform.

A hybrid implementation uses both of the registration systems
described above. Here is the hello_windows example above modified for a
hybrid implementation:

flutter

plugin

implements

hello

platforms

windows

dartPluginClass

HelloPluginWindows

pluginClass

HelloPlugin