Hello,
I need to redefine a color palette of the theme.
What is the best practice to do that, I want void broken your design. Please, share the screenshot.
Eh Jewel
管理员
9月 21, 2020 - 8:18 下午
Q:
How rewrite bootstrap colors
All Replies
Eh Jewel
管理员
9月 21, 2020 - 8:18 下午
Eh Jewel
管理员
11月 30, 2020 - 6:38 上午
`main(){
runM();
}
Eh Jewel
管理员
11月 30, 2020 - 6:39 上午
import 'package:flutter/material.dart';
import 'package:organic_food_app/constants/constants.dart';
import 'package:organic_food_app/screens/sign_in/sign_in_screen.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Organic Food App',
debugShowCheckedModeBanner: false,
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
scaffoldBackgroundColor: white
),
home: SignInScreen(),
);
}
}
正在查看 3 帖子:1-3 (共 3 个帖子)
- You must be logged in to reply to this topic.
Forums
-
Announcements 3
-
Announcements 6
-
Approach HTML Template 6
-
Approach HTML Template 3
-
Aprimo Theme Support 2
-
Aprimo Theme Support 2
-
Deksi Theme 3
-
Deksi Theme 2
-
Docly Theme Support 7
-
Docly Theme Support 7
-
Gullu Theme Support 2
-
Gullu Theme Support 2
-
Product Support 2
-
Product Support 3
-
Rogan Theme Support 2
-
Rogan Theme Support 2
-
Technology 2
-
Technology 3
-
User Feedback 3
-
User Feedback 4
Recent Topics
Forum Statistics
- Registered Users
- 33
- Forums
- 20
- Topics
- 69
- Replies
- 51
- Topic Tags
- 30
Hello,
I need to redefine a color palette of the theme.
What is the best practice to do that, I want void broken your design. Please, share the screenshot.