Q:

How rewrite bootstrap colors

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.

2 Replies
Up
0

`main(){
runM();
}

Up
0
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(),
    );
  }
}

Viewing 2 replies - 1 through 2 (of 2 total)

Antimanual

Ask our AI support assistant your questions about our platform, features, and services.

You are offline
Chatbot Avatar
What can I help you with?

Alternatif Bakım Veri Tabanında Arayın...

Search in the Alternative Care Database...