style property

EmailFormStyle? style
final

An object that is being used to apply styling configuration to the email form.

Alternatively FirebaseUITheme could be used to provide styling configuration.

runApp(
  const FirebaseUITheme(
    styles: {
      EmailFormStyle(signInButtonVariant: ButtonVariant.text),
    },
    child: MaterialApp(
      home: MyScreen(),
    ),
  ),
);

class MyScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Email sign in'),
      ),
      body: Center(child: EmailForm()),
    );
  }
}

Implementation

final EmailFormStyle? style;