We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8296f60 commit d6979d4Copy full SHA for d6979d4
example/lib/main.dart
@@ -11,16 +11,16 @@ class MyApp extends StatelessWidget {
11
12
@override
13
Widget build(BuildContext context) {
14
- return MaterialApp(
+ return const MaterialApp(
15
title: 'Flutter FormBuilder Demo',
16
debugShowCheckedModeBanner: false,
17
- localizationsDelegates: const [
+ localizationsDelegates: [
18
FormBuilderLocalizations.delegate,
19
GlobalMaterialLocalizations.delegate,
20
GlobalWidgetsLocalizations.delegate,
21
],
22
- supportedLocales: FormBuilderLocalizations.delegate.supportedLocales,
23
- home: const CompleteForm(),
+ supportedLocales: FormBuilderLocalizations.supportedLocales,
+ home: CompleteForm(),
24
);
25
}
26
0 commit comments