Installation
Get Nocterm installed and ready to use
Add Nocterm to your project
Add nocterm to your pubspec.yaml:
dependencies:
nocterm: ^0.1.0
Then install the package:
dart pub get
Verify the installation
Create a file called hello.dart and add this code:
import 'package:nocterm/nocterm.dart';
void main() {
runApp(
Center(
child: Text('Hello, Nocterm!'),
),
);
}
Run the app:
dart run hello.dart
You should see "Hello, Nocterm!" displayed in the center of your terminal.
Press Ctrl+C to exit.
Next steps
- Your First App - Build an interactive counter app
- How terminals work - Understand terminal basics