Knob extension
The BuildContext class extension.
- on
Methods
-
boolean(
{required String key, String? description, required bool initial}) → bool -
Available on BuildContext, provided by the Knob extension
Creates bool knob. -
number<
T extends num> ({required String key, String? description, required T initial, required T min, required T max}) → T -
Available on BuildContext, provided by the Knob extension
Creates int or double knob. -
options<
T> ({required String key, String? description, required List< Option< options, int initialIndex = 0}) → TT> > -
Available on BuildContext, provided by the Knob extension
Creates Option knob. -
string(
{required String key, String? description, required String initial}) → String -
Available on BuildContext, provided by the Knob extension
Creates String knob.