I can't use RaisedButton in flutter because I use Cupertino library. The error is :
lib/main.dart:24:15: Error: The method 'RaisedButton' isn't defined for the class 'MyApp'.
- 'MyApp' is from 'package:myflutter/main.dart' ('lib/main.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
RaisedButton(
if I use CupertinoButton, it is ok but I want to use RaisedButton. I add
*import 'package:flutter/cupertino.dart';*
but it doesn't work.