commit
e34c915074
@ -173,9 +173,13 @@ class _MyAppState extends State<MyApp> {
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: RaisedButton(
|
||||
color: Theme.of(context).accentColor,
|
||||
padding: EdgeInsets.symmetric(vertical: 16),
|
||||
child: ElevatedButton(
|
||||
style: ButtonStyle(
|
||||
backgroundColor: MaterialStateProperty.resolveWith(
|
||||
(states) => Theme.of(context).accentColor),
|
||||
padding: MaterialStateProperty.resolveWith(
|
||||
(states) => EdgeInsets.symmetric(vertical: 16)),
|
||||
),
|
||||
child: Text("SEND",
|
||||
style: Theme.of(context).accentTextTheme.button),
|
||||
onPressed: () {
|
||||
|
@ -6,7 +6,6 @@ import 'package:flutter/services.dart';
|
||||
import 'package:flutter_user_agent/flutter_user_agent.dart';
|
||||
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
import 'package:flutter_user_agent/flutter_user_agent.dart';
|
||||
|
||||
const MethodChannel _channel = MethodChannel('flutter_sms');
|
||||
|
||||
|
10
pubspec.yaml
10
pubspec.yaml
@ -12,10 +12,10 @@ environment:
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
url_launcher: ^5.4.2
|
||||
url_launcher: ^6.0.2
|
||||
flutter_web_plugins:
|
||||
sdk: flutter
|
||||
plugin_platform_interface: ^1.0.1
|
||||
plugin_platform_interface: ^2.0.0
|
||||
flutter_user_agent: ^1.2.2
|
||||
|
||||
dev_dependencies:
|
||||
@ -32,6 +32,6 @@ flutter:
|
||||
pluginClass: FlutterSmsPlugin
|
||||
# macos:
|
||||
# pluginClass: FlutterSmsPlugin
|
||||
# web:
|
||||
# pluginClass: FlutterSmsPlugin
|
||||
# fileName: flutter_sms_web.dart
|
||||
# web:
|
||||
# pluginClass: FlutterSmsPlugin
|
||||
# fileName: flutter_sms_web.dart
|
||||
|
Loading…
Reference in New Issue
Block a user