action property

WidgetBuilder action
override

Returns a widget builder for action button

Implementation

@override
WidgetBuilder get action => (context) => ActionButton(
    onPressed: () => Navigator.push(context,
        MaterialPageRoute(builder: (context) => EmailLinkPage(this))),
    color: Colors.amber,
    textColor: Colors.black,
    icon: Icon(
      Icons.link,
      color: Colors.black,
    ),
    text: "Sign in with Link");