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