modified method

Modifier modified()

Transform normal widget to Modifier

Implementation

// ignore: prefer_const_literals_to_create_immutables
Modifier modified() => Modifier(modifiers: <SingleChildModifier>[], child: this);