Ekstra
Ekstra

Reputation: 323

My program fails after the flutter visual studio emulator opens

enter image description here

import 'package:naber/naber_main.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
   @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Naber',
      theme: ThemeData(
        primaryColor: Color(0xff075E54),
        accentColor: Color(0xff250366),
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: NaberMain(),
    );
  }
}

My program fails after the flutter visual studio emulator opens.

Upvotes: 0

Views: 34

Answers (1)

Markel Martiartu
Markel Martiartu

Reputation: 64

The color must be in ARGB format.

Upvotes: 1

Related Questions