mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
add function
This commit is contained in:
14
lib/base/code_editor/ToolButton.dart
Normal file
14
lib/base/code_editor/ToolButton.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// A button under the navigation bar to help the user write code.
|
||||
class ToolButton {
|
||||
Function press;
|
||||
IconData? icon;
|
||||
String? symbol;
|
||||
|
||||
ToolButton({
|
||||
required this.press,
|
||||
this.icon,
|
||||
this.symbol,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user